通讯录管理系统的设计与实现c源代码

通讯录管理系统的设计与实现源代码#include <iostream> #include <string> #include <fstream> #include<iomanip> using

通讯录管理系统的设计与实现源代码 #include &lt;iostream&gt; #include &lt;string&gt; #include &lt;fstream&gt; #include&lt;iomanip&gt; using namespace std; struct Student { string num;//学号 string name;//姓名 int age; char tel; char addr; char emal; Student *next; }; long iCount=0; Student *head=NULL; Student *pEnd=NULL; void LoadRecords(char *path)//从文本里面读取记录 { fstream infile(path,ios::in); if(!infile){} else { infile&gt;&gt;iCount; int t=iCount; if(iCount!=0) { for(;iCount&gt;0;iCount--) { Student *p=new Student; infile&gt;&gt;p-&gt;num&gt;&gt;p-&gt;name&gt;&gt;p-&gt;Maths; if(head==NULL) { head=p;pEnd=p;pEnd-&gt;next=NULL; } else { pEnd-&gt;next=p; pEnd=pEnd-&gt;next;

腾讯文库通讯录管理系统的设计与实现c源代码