資源簡介
C語言鏈式管理系統,新手練手小項目,簡單通俗,多文件實現
代碼片段和文件信息
/*
1.界面
2.數據結構的設計
//需求和數據結構設計糅合在一起
3.交互
*/
#include?“myList.h“
//數據的設計---->學生信息抽象出
//菜單設計
void??menu()
{
//所有操作都同步到文件
printf(“-------------【學生信息管理系統】-----------\n“);
printf(“\t\t0.退出系統\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();
//用戶的交互
//根據所選的菜單項,做相應的事情
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(“請輸入學生姓名年齡性別電話:“);
fflush(stdin); //
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????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\緩沖區問題.exe
?????文件?????234300??2019-03-18?21:02??studentSystem\Debug\緩沖區問題.ilk
?????文件?????453632??2019-03-18?21:02??studentSystem\Debug\緩沖區問題.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\緩沖區問題\Debug\vc120.idb
?????文件??????77824??2019-03-18?21:02??studentSystem\緩沖區問題\Debug\vc120.pdb
?????文件???????7210??2019-03-18?21:02??studentSystem\緩沖區問題\Debug\緩沖區.obj
?????文件???????1751??2019-03-18?21:02??studentSystem\緩沖區問題\Debug\緩沖區問題.log
?????文件????????690??2019-03-18?21:02??studentSystem\緩沖區問題\Debug\緩沖區問題.tlog\cl.command.1.tlog
............此處省略21個文件信息
- 上一篇:VC++讀寫FAT32操作
- 下一篇:C++商品庫存管理系統
評論
共有 條評論