資源簡介
譚浩強C程序設計第五版課件ppt及源碼
譚浩強C語言第五版課件,共10章
C程序設計(第五版) “十二五”普通高等教育本科國家級規劃教材、北京市高等教育精品教材立項項目、全國高校出版社優秀暢銷書特等獎。

代碼片段和文件信息
#include?
#include?
int?main()
??{FILE?*fp;
???char?chfilename[10];
???printf(“請輸入所用的文件名:“);
???scanf(“%s“filename);
???if((fp=fopen(filename“w“))==NULL)???????//?打開輸出文件并使fp指向此文件?
??{
???????printf(“無法打開此文件\n“);??????????//?如果打開時出錯,就輸出“打不開“的信息??
???????exit(0);?????????????????????????????//?終止程序*/
???????}
???ch=getchar(?);???????????????????????????//?接收在執行scanf語句時最后輸入的回車符??
???printf(“請輸入一個準備存儲到磁盤的字符串(以#結束):“);
???ch=getchar(?);???????????????????????????//?接收從鍵盤輸入的第一個字符?
???while(ch!=‘#‘)???????????????????????????//?當輸入‘#‘時結束循環??
{
??fputc(chfp);?????????????????????????//?向磁盤文件輸出一個字符??
??????putchar(ch);??????????????????????????//?將輸出的字符顯示在屏幕上??
??ch=getchar();?????????????????????????//?再接收從鍵盤輸入的一個字符??
?}
???fclose(fp);??????????????????????????????//?關閉文件??
???putchar(10);?????????????????????????????//?向屏幕輸出一個換行符,換行符的ASCII代碼為10?
???return?0;
??}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1089??2017-09-08?10:29??課件與源程序\C5源程序(17.9)\第10章\c10-1.c
?????文件???????1171??2017-09-08?10:24??課件與源程序\C5源程序(17.9)\第10章\c10-2.c
?????文件????????941??2017-09-08?10:36??課件與源程序\C5源程序(17.9)\第10章\c10-3-1.c
?????文件????????360??2017-09-08?10:38??課件與源程序\C5源程序(17.9)\第10章\c10-3-2.c
?????文件????????845??2017-09-08?10:46??課件與源程序\C5源程序(17.9)\第10章\c10-4-1.c
?????文件????????691??2010-02-08?15:10??課件與源程序\C5源程序(17.9)\第10章\c10-4-2.c
?????文件???????1093??2010-02-08?15:23??課件與源程序\C5源程序(17.9)\第10章\c10-4-3.c
?????文件????????531??2010-02-08?23:13??課件與源程序\C5源程序(17.9)\第10章\c10-5.c
?????文件????????689??2010-02-09?09:24??課件與源程序\C5源程序(17.9)\第10章\c10-6.c
?????文件????????348??2017-09-08?11:16??課件與源程序\C5源程序(17.9)\第1章\c1-1.c
?????文件??????11805??2018-10-08?19:22??課件與源程序\C5源程序(17.9)\第1章\c1-1.exe
?????文件???????2631??2018-10-08?19:22??課件與源程序\C5源程序(17.9)\第1章\c1-1.o
?????文件????????640??2009-09-01?03:53??課件與源程序\C5源程序(17.9)\第1章\c1-2.c
?????文件??????12317??2018-10-08?19:22??課件與源程序\C5源程序(17.9)\第1章\c1-2.exe
?????文件???????2807??2018-10-08?19:22??課件與源程序\C5源程序(17.9)\第1章\c1-2.o
?????文件????????787??2017-09-07?10:17??課件與源程序\C5源程序(17.9)\第1章\c1-3.c
?????文件??????12541??2018-10-08?19:23??課件與源程序\C5源程序(17.9)\第1章\c1-3.exe
?????文件???????3129??2018-10-08?19:23??課件與源程序\C5源程序(17.9)\第1章\c1-3.o
?????文件?????155697??2017-09-08?11:15??課件與源程序\C5源程序(17.9)\第1章\Debug\c1-1.exe
?????文件?????159860??2017-09-08?11:15??課件與源程序\C5源程序(17.9)\第1章\Debug\c1-1.ilk
?????文件???????1938??2017-09-08?11:15??課件與源程序\C5源程序(17.9)\第1章\Debug\c1-1.obj
?????文件?????175484??2017-09-08?11:14??課件與源程序\C5源程序(17.9)\第1章\Debug\c1-1.pch
?????文件?????312320??2017-09-08?11:15??課件與源程序\C5源程序(17.9)\第1章\Debug\c1-1.pdb
?????文件??????33792??2017-09-08?11:15??課件與源程序\C5源程序(17.9)\第1章\Debug\vc60.idb
?????文件??????45056??2017-09-08?11:15??課件與源程序\C5源程序(17.9)\第1章\Debug\vc60.pdb
?????文件????????140??2017-09-07?10:19??課件與源程序\C5源程序(17.9)\第2章\c2-18.c
?????文件??????12317??2018-10-08?19:24??課件與源程序\C5源程序(17.9)\第2章\c2-18.exe
?????文件???????2823??2018-10-08?19:24??課件與源程序\C5源程序(17.9)\第2章\c2-18.o
?????文件????????263??2009-09-03?10:26??課件與源程序\C5源程序(17.9)\第2章\c2-19.c
?????文件??????12317??2018-10-08?19:24??課件與源程序\C5源程序(17.9)\第2章\c2-19.exe
............此處省略169個文件信息
- 上一篇:基于GEC6818的電子相冊和2048小游戲.zip
- 下一篇:麥克納姆輪控制算法
評論
共有 條評論