#include
# include & lt; String. H>//defines a variable type, a macro and various operating characters
Struct course//define structure course
{int num.
Char name [20].
Char kind [10]. Int time; Int ttime. Int etime. Int mark; Int term; }; Struct student {int snum; Int cnum; Char cname [20]. };/* course information input */void insert () {void main (); FILE *fp; Struct course c; int count; int i; If ((fp=fopen (" course. TXT ", "a +"))==NULL) {printf (" always? The open? The file \ n "); } printf (" \ n please enter course gate number: \ n "); The scanf (" % d ", & amp; The count); Printf (" course number course name nature total hours teaching period experiment or hours credit course semester: \ n "); for(i=0; I
CodePudding user response:
Typography is too messy, no one wants to see, Suggestions to improve the layoutCodePudding user response:
To what's wrong?CodePudding user response:
Typesetting moving,,,