資源簡(jiǎn)介
C語言鏈?zhǔn)焦芾硐到y(tǒng),新手練手小項(xiàng)目,簡(jiǎn)單通俗,多文件實(shí)現(xiàn)
代碼片段和文件信息
/*
1.界面
2.數(shù)據(jù)結(jié)構(gòu)的設(shè)計(jì)
//需求和數(shù)據(jù)結(jié)構(gòu)設(shè)計(jì)糅合在一起
3.交互
*/
#include?“myList.h“
//數(shù)據(jù)的設(shè)計(jì)---->學(xué)生信息抽象出
//菜單設(shè)計(jì)
void??menu()
{
//所有操作都同步到文件
printf(“-------------【學(xué)生信息管理系統(tǒng)】-----------\n“);
printf(“\t\t0.退出系統(tǒng)\n“);
printf(“\t\t1.錄入信息\n“);
printf(“\t\t2.瀏覽信息\n“);
printf(“\t\t3.修改信息\n“);
printf(“\t\t4.刪除信息\n“);
printf(“\t\t5.查找信息\n“);
printf(“-------------------------------------------\n“);
}
struct?Node*?list?=?createList();
//用戶的交互
//根據(jù)所選的菜單項(xiàng),做相應(yīng)的事情
void?keyDown()
{
int?choice?=?0;
struct?student?data;?
struct?Node*?pMove?=?NULL;?
scanf(“%d“?&choice);
switch?(choice)
{
case?0:
printf(“正常退出!\n“);
system(“pause“);
exit(0);
break;
case?1:
printf(“--------------【錄入信息】-----------\n“);?
//插入鏈表
printf(“請(qǐng)輸入學(xué)生姓名年齡性別電話:“);
fflush(stdin); //
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????40448??2019-03-18?21:49??studentSystem\Debug\studentSystem.exe
?????文件?????266924??2019-03-18?21:49??studentSystem\Debug\studentSystem.ilk
?????文件?????478208??2019-03-18?21:49??studentSystem\Debug\studentSystem.pdb
?????文件??????31744??2019-03-18?21:02??studentSystem\Debug\緩沖區(qū)問題.exe
?????文件?????234300??2019-03-18?21:02??studentSystem\Debug\緩沖區(qū)問題.ilk
?????文件?????453632??2019-03-18?21:02??studentSystem\Debug\緩沖區(qū)問題.pdb
?????文件?????????72??2019-03-18?21:50??studentSystem\studentSystem\1.txt
?????文件???????1727??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.log
?????文件??????27791??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.obj
?????文件????????734??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\cl.command.1.tlog
?????文件???????1302??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\CL.read.1.tlog
?????文件????????824??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\CL.write.1.tlog
?????文件???????1456??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\li
?????文件???????2450??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\li
?????文件????????784??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\li
?????文件????????236??2019-03-18?21:49??studentSystem\studentSystem\Debug\studentSystem.tlog\studentSystem.lastbuildstate
?????文件??????52224??2019-03-18?21:49??studentSystem\studentSystem\Debug\vc120.idb
?????文件??????86016??2019-03-18?21:49??studentSystem\studentSystem\Debug\vc120.pdb
?????文件???????2997??2019-03-18?21:24??studentSystem\studentSystem\myList.h
?????文件???????2943??2019-03-18?21:49??studentSystem\studentSystem\studentSystem.cpp
?????文件???????3462??2019-03-18?20:24??studentSystem\studentSystem\studentSystem.vcxproj
?????文件???????1073??2019-03-18?20:24??studentSystem\studentSystem\studentSystem.vcxproj.filters
?????文件????2555904??2019-04-09?19:15??studentSystem\studentSystem.sdf
?????文件???????1469??2019-03-18?21:02??studentSystem\studentSystem.sln
????..A..H.?????24064??2019-04-09?19:15??studentSystem\studentSystem.v12.suo
?????文件??????44032??2019-03-18?21:02??studentSystem\緩沖區(qū)問題\Debug\vc120.idb
?????文件??????77824??2019-03-18?21:02??studentSystem\緩沖區(qū)問題\Debug\vc120.pdb
?????文件???????7210??2019-03-18?21:02??studentSystem\緩沖區(qū)問題\Debug\緩沖區(qū).obj
?????文件???????1751??2019-03-18?21:02??studentSystem\緩沖區(qū)問題\Debug\緩沖區(qū)問題.log
?????文件????????690??2019-03-18?21:02??studentSystem\緩沖區(qū)問題\Debug\緩沖區(qū)問題.tlog\cl.command.1.tlog
............此處省略21個(gè)文件信息
- 上一篇:VC++讀寫FAT32操作
- 下一篇:C++商品庫存管理系統(tǒng)
評(píng)論
共有 條評(píng)論