學生成績查詢系統,運用結構體,struct ,sort ,Clrscr(),textcolor()函數,用for()循環語句,switch和ifelse作為條件測試語句。 程序實現了學生成績查詢功能,有20個我們班學生的數據信息,每個包含: 學號 — num [10](字符串)、姓名(拼音)— name[25](字符串)、 性別 — sex(字符,M或W)、年齡 — age(整型)、 三門課程成績(高數、英語、計算機)— score [3 ](單精度)。設計一個系統: 定義及輸出。用結構體類型數據及其賦初值的方法把學生的數據送到結構體數組中(第一個數據用自己的真實數據,其它數據自定,但注意要是合法數據),然后把它們輸出顯示;計算并排序。計算每個學生三門課程的總分(sum,單精度)及平均分(aver,單精度,輸出一位小數),還有他們成績的排名,將包括所有數據的結構體數組元素按總分從大到小的順序排序打印出來; 運行程序,進入主界面!可輸入1—輸出所有學生的成績,輸入2—計算和排列學生的成績,輸入3—查詢學生個人成績,輸入4—退出查詢。 在進行學生個人成績個人查詢可以實現多次查詢——進入學生個人查詢,輸入1回車實現多次查詢。 運行環境為TURBOC ,WINDOWSXP。
標簽: 成績查詢系統
上傳時間: 2014-01-01
上傳用戶:cx111111
密碼學界牛人Victor Shoup用C++編寫數論類庫。 NTL is a high-performance, portable C++ library providing data structures and algorithms for arbitrary length integers for vectors, matrices, and polynomials over the integers and over finite fields and for arbitrary precision floating point arithmetic. NTL provides high quality implementations of state-of-the-art algorithms for: * arbitrary length integer arithmetic and arbitrary precision floating point arithmetic * polynomial arithmetic over the integers and finite fields including basic arithmetic, polynomial factorization, irreducibility testing, computation of minimal polynomials, traces, norms, and more * lattice basis reduction, including very robust and fast implementations of Schnorr-Euchner, block Korkin-Zolotarev reduction, and the new Schnorr-Horner pruning heuristic for block Korkin-Zolotarev * basic linear algebra over the integers, finite fields, and arbitrary precision floating point numbers.
標簽: high-performance providing portable library
上傳時間: 2014-01-04
上傳用戶:exxxds
綜合2叉樹及B+樹優點的能根據增刪改而分裂或合并的完整程序(現在以8bit(BYTE key)為關鍵字,可擴充到64bit的double為key,用戶數據包現在以float ton表示,可擴充到任意結構struct)
上傳時間: 2017-02-19
上傳用戶:498732662
struct\ejb\mysql開發工程源碼
標簽: structejbmysql 工程 源碼
上傳時間: 2013-12-25
上傳用戶:kristycreasy
struct\ejb\mysql工程設計文檔
標簽: structejbmysql 工程設計 文檔
上傳時間: 2017-02-27
上傳用戶:123啊
This GUI is an updated and enhanced version of the “structBrowser” utility submitted to MatLab Central in May 2003. It comes with new interface and an enhanced display. It uses Microsoft TreeView control to display and explore any kind of MatLab structures. The CRC Explorestruct was designed to expose the contents of the array struct to any depth and plot any of the components. This tool is very useful for programmers using structures in their code
標簽: structBrowser submitted enhanced updated
上傳時間: 2017-03-05
上傳用戶:csgcd001
JAVA實現的中小型企業CRM客戶關系管理系統,為struct Spring Ibatis架構實現,企業應用或者學習的好系統
上傳時間: 2017-03-20
上傳用戶:lgnf
順序棧的出棧、入棧、求棧長等基本操作 #include <stdio.h> #include <stdlib.h> #define STACKSIZE 50 typedef char DateType typedef struct
標簽: include STACKSIZE define stdlib
上傳時間: 2014-01-10
上傳用戶:daguda
移植uip-1.0到Atmega32 1)把 uip-1.0 的所有文件加入到工程,包括 uip 目錄的文件(除uip-split.c)、unix 目錄的文件、lib 目錄的文件; 2)修改 uip/uip-neighbor.c 文件的 void uip_neighbor_add(uip_ipaddr_t ipaddr, struct uip_neighbor_addr *addr) 函數,一般注釋掉 printf 語句即可,或者改為你自己的串口格式化打印實現。 3)uip 目錄里的源文件除 uipopt.h 外一般都無需修改;uipopt.h 包含了 uip-conf.h ,所以大部分修改可以在 uip-conf.h 里進行。 uip-conf.h 里加入如下定義,可以減少編譯的警告: #define notdef 0 #define UIP_CONF_IPV6 0 #define UIP_ARCH_ADD32 0 #define UIP_ARCH_CHKSUM 0 #define UIP_NEIGHBOR_CONF_ADDRTYPE 0 4)移植工作主要是 定時器中斷程序 與 網絡驅動 的編寫
上傳時間: 2013-12-20
上傳用戶:csgcd001
client socket include <sys/types.h> include <sys/socket.h> include <stdio.h> include <netinet/in.h> include <arpa/inet.h> include <unistd.h> int main() { int sockfd int len struct sockaddr_in address int result char ch = A sockfd = socket(AF_INET, SOCK_STREAM, 0) address.sin_family = AF_INET address.sin_addr.s_addr = inet_addr("127.0.0.1") address.sin_port = 9734 len = sizeof(address) result = connect(sockfd, (struct sockaddr *)&address, len) if(result == -1) { perror("oops: client") exit(1) } write(sockfd, &ch, 1) read(sockfd, &ch, 1) printf("char from server = c\n", ch) close(sockfd) exit(0) }
上傳時間: 2017-07-29
上傳用戶:wab1981