【文件属性】:
文件名称:结构体变量引用-数组-指针
文件大小:854B
文件格式:CPP
更新时间:2015-11-01 14:42:38
C++
#include
using namespace std;
//自定义结构体类型
struct date
{
int month; //结构体变量名定义
int day;
int year;
};
struct teacher
{
int num;
char name[20];
struct date birthday; //结构体的嵌套定义
int salary;
char addr[30];
};...