摘要: //学生信息数据库管理 1.//文件声明 //数据库储存格式:123 xiaoming\n124 xiaohong\n! #ifndef DATA_H 2.//防止重复包含头文件 #define DATA_H #include "linkstu.h" 3.//包含数据类型的头文件 int Load( 阅读全文
posted @ 2019-05-23 18:47 jawide 阅读(296) 评论(0) 推荐(0)
摘要: 在c语言中,不能直接用结构体名来声明变量。 在c++中,可以直接用结构体名来声明变量。 //c语言// //声明 struct stu { ... }; //定义 struct stu student; //c++// //声明 struct stu { ... }; //定义 1.struct s 阅读全文
posted @ 2019-05-23 11:31 jawide 阅读(4050) 评论(0) 推荐(0)