摘要: 简单结构体struct student{ char name[20]; //可以用scanf或者直接赋值 *如果用char *name 在用scanf时没有内存接收 long id; int age; float height;};结构体中只能声明变量不能赋初值。struct st... 阅读全文
posted @ 2015-12-13 20:40 王权 阅读(122) 评论(0) 推荐(0) 编辑