學(xué)生成績查詢系統(tǒng),運(yùn)用結(jié)構(gòu)體,Struct ,sort ,Clrscr(),textcolor()函數(shù),用for()循環(huán)語句,switch和ifelse作為條件測試語句。 程序?qū)崿F(xiàn)了學(xué)生成績查詢功能,有20個我們班學(xué)生的數(shù)據(jù)信息,每個包含: 學(xué)號 — num [10](字符串)、姓名(拼音)— name[25](字符串)、 性別 — sex(字符,M或W)、年齡 — age(整型)、 三門課程成績(高數(shù)、英語、計算機(jī))— score [3 ](單精度)。設(shè)計一個系統(tǒng): 定義及輸出。用結(jié)構(gòu)體類型數(shù)據(jù)及其賦初值的方法把學(xué)生的數(shù)據(jù)送到結(jié)構(gòu)體數(shù)組中(第一個數(shù)據(jù)用自己的真實(shí)數(shù)據(jù),其它數(shù)據(jù)自定,但注意要是合法數(shù)據(jù)),然后把它們輸出顯示;計算并排序。計算每個學(xué)生三門課程的總分(sum,單精度)及平均分(aver,單精度,輸出一位小數(shù)),還有他們成績的排名,將包括所有數(shù)據(jù)的結(jié)構(gòu)體數(shù)組元素按總分從大到小的順序排序打印出來; 運(yùn)行程序,進(jìn)入主界面!可輸入1—輸出所有學(xué)生的成績,輸入2—計算和排列學(xué)生的成績,輸入3—查詢學(xué)生個人成績,輸入4—退出查詢。 在進(jìn)行學(xué)生個人成績個人查詢可以實(shí)現(xiàn)多次查詢——進(jìn)入學(xué)生個人查詢,輸入1回車實(shí)現(xiàn)多次查詢。 運(yùn)行環(huán)境為TURBOC ,WINDOWSXP。
標(biāo)簽: 成績查詢系統(tǒng)
上傳時間: 2014-01-01
上傳用戶:cx111111
密碼學(xué)界牛人Victor Shoup用C++編寫數(shù)論類庫。 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.
標(biāo)簽: high-performance providing portable library
上傳時間: 2014-01-04
上傳用戶:exxxds
綜合2叉樹及B+樹優(yōu)點(diǎn)的能根據(jù)增刪改而分裂或合并的完整程序(現(xiàn)在以8bit(BYTE key)為關(guān)鍵字,可擴(kuò)充到64bit的double為key,用戶數(shù)據(jù)包現(xiàn)在以float ton表示,可擴(kuò)充到任意結(jié)構(gòu)Struct)
標(biāo)簽: key double float 8bit
上傳時間: 2017-02-19
上傳用戶:498732662
Struct\ejb\mysql開發(fā)工程源碼
標(biāo)簽: Structejbmysql 工程 源碼
上傳時間: 2013-12-25
上傳用戶:kristycreasy
Struct\ejb\mysql工程設(shè)計文檔
標(biāo)簽: Structejbmysql 工程設(shè)計 文檔
上傳時間: 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
標(biāo)簽: StructBrowser submitted enhanced updated
上傳時間: 2017-03-05
上傳用戶:csgcd001
JAVA實(shí)現(xiàn)的中小型企業(yè)CRM客戶關(guān)系管理系統(tǒng),為Struct Spring Ibatis架構(gòu)實(shí)現(xiàn),企業(yè)應(yīng)用或者學(xué)習(xí)的好系統(tǒng)
標(biāo)簽: JAVA CRM 管理系統(tǒng)
上傳時間: 2017-03-20
上傳用戶:lgnf
順序棧的出棧、入棧、求棧長等基本操作 #include <stdio.h> #include <stdlib.h> #define STACKSIZE 50 typedef char DateType typedef Struct
標(biāo)簽: 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) 函數(shù),一般注釋掉 printf 語句即可,或者改為你自己的串口格式化打印實(shí)現(xiàn)。 3)uip 目錄里的源文件除 uipopt.h 外一般都無需修改;uipopt.h 包含了 uip-conf.h ,所以大部分修改可以在 uip-conf.h 里進(jìn)行。 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)移植工作主要是 定時器中斷程序 與 網(wǎng)絡(luò)驅(qū)動 的編寫
上傳時間: 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) }
標(biāo)簽: include socket sys gt
上傳時間: 2017-07-29
上傳用戶:wab1981
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1