编一个C语言程序,输入学生的学号和姓名(有指针和SWITCH)。有4个CASE。一是增加学生信息,

[复制链接]
查看11 | 回复2 | 2011-12-31 17:42:42 | 显示全部楼层 |阅读模式
程序是以前写的,里面的指针有些可能有些冗余,但是应该是可以执行的主程序里面的菜单刚才写的,但是没有编译器所以不能帮你调试,不过应该不会有什么大问题呵呵,希望有用#include "stdio.h"#include "stdlib.h"#include "malloc.h"#define NULL 0#define LEN sizeof(struct student)struct student{long num;float score;struct student *next;};int n;struct student *creat(void){struct stud...
回复

使用道具 举报

千问 | 2011-12-31 17:42:42 | 显示全部楼层
#includestruct person{ char name; int age; char sex;float height;}per={"Li Hua",20,'M',175.5}main(){
...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行