摘要:
86.新建名为d:\cwz\a1.txt的文本文件,调用fputc函数将输入的学生姓名,电话号码写到文件中,输入以#作为结束标志. 1 #include 2 #include 3 4 void main (void) 5 { 6 char ch; 7 FILE *fp; 8 ... 阅读全文
摘要:
81.调用函数,完成单向动态链表的建立,输出各结点的值. 1 #include 2 #include 3 4 typedef struct lst 5 { 6 int num; 7 struct lst *next; 8 }LST; 9 10 LST *mycreat ()11... 阅读全文