#include <stdio.h>
#include <stdlib.h>
typedef struct _Student{
char name[10];
int age;
int number;
int score;
}Student;
typedef struct _Node{
Student stu;//学生信息
struct _Node * next;//指向下一个学生
}Node;
Node * head=NULL;//定义第一个学生
//函数声明
void inputStudent();//录入学生信息
void printStudent();//打印学生信息
int saveStudent(); //保存学生信息
int readStudent(); //读取学生信息
int countStudent(); //统计所有学生人数
int findStudent();//查找学生信息
int modifyStudent(); //修改学生信息
int main(int argc, const char * argv[])
{
printf("欢迎使用学生信息管理系统\n");
printf("中北镇工作室2013作品V1.0\n");
while (1) {
printf("\n请选择功能列表:");
printf("\n1.录入学生信息");
printf("\n2.打印学生信息");
printf("\n3.保存学生信息");
printf("\n4.读取学生信息");
printf("\n5.统计所有学生人数");
printf("\n6.查找学生信息");
printf("\n7.修改学生信息");
printf("\n8.退出系统\n");
char c;
scanf(" %c",&c);
switch (c) {
case '1':
inputStudent();
break;
case '2':
printStudent();
break;
case '3':
saveStudent();
break;
case '4':
readStudent();
break;
case '5':
countStudent();
break;
case '6':
findStudent();