学生基本信息管理系统(LINUX下).docx

学习并分别使用标准 C 地文件操作函数和 Linux 地系统调用创建一个对学生 基本信息进行操作 插入、修改和删除)地C程序,学生基本信息以结构体地形 式存储在文件 #includestdio.h #includeunistd.h #includestring.h #includestdlib.h #includetime.h struct stu_info { char stu_num[12] 。 char name[10] 。 char sex 。 /*0 为女生 ,1 为男生 */ char mobile_phone[12] 。 }。 struct stu_info student 。 unsigned int number 。 struct stu_info stu[100] 。 FILE *in 。 FILE *out 。 int len 。 void inputstu( 。 void updatestu( 。 void deletestu( 。 void displaystu( void commanddisp( { printf( \n 。 b5E2RGbCAP printf(| 学生基本信息管理 |\n 。plEanqFDPw printf(|---1. 基本信息插入 . 2. 基本信息修改 |\n 。 printf(|---3. 基本信息删除 . 4.

文档评论(0)

1亿VIP精品文档

相关文档