学生证选课系统c语言大作业,学生选课管理系统c语言程序

  • Post author:
  • Post category:其他


#include

#include

#include

int N1,N2;

struct couse * head1;

struct student * head2;

struct couse //课程信息结构体

{

int num1; //课程编号

char name1[20]; //课程名称

char type[20]; //课程性质

int hour; //总学时

int teach; //上课学时

int exp; //实验上机学时

int credit; //学分

int semester; //开课学期

int nelepeo; //课程已选人数

int Melepeo; //课程上限

struct couse * next;

};

struct student //学生信息结构体

{

int num2; //学号

char name2[20]; //姓名

int nelenum[50]; //已选课程编号

char nelename[10][20]; //已选名称

int nelen; //已选课程数量

int score; //总学分

int gainscore; //已获得的学分

struct student * next;

};

void manger();

void student();

void managementc();

void managements();

void manage();

void main();

void intoc() //存储课程信息

{

FILE * fp;

struct couse * p;

char filepath[30];

printf(“\t\t\t*****************************\n”);

printf(“\n\t\t\t\t欢迎使用此系统!\n”);