类对象指针定义 Tdate d1; Tdate *p1=&d1; Tdate *p2=(Tdate *)malloc(sizeof(Tdate)); 转载于:https://blog.51cto.com/yhj51blog/1675714