Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2140657
  • 博文数量: 556
  • 博客积分: 11457
  • 博客等级: 上将
  • 技术积分: 5973
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-24 22:33
文章分类

全部博文(556)

文章存档

2013年(22)

2012年(74)

2011年(460)

分类: C/C++

2012-08-13 17:26:37


点击(此处)折叠或打开

  1. #include <stdio.h>

  2. typedef struct Student
  3. {
  4.     int sid;
  5.     char name[100];
  6.     char ***;
  7. }* PSTU,STU; //PSTU 等价于struct Student * ,STU 等价于struct Student

  8. int main(void)
  9. {
  10.     STU stu;
  11.     PSTU ps = &stu;
  12.     ps->sid =99;
  13.     printf("%d\n",ps->sid);
  14.     
  15.     return 0;
  16. }

阅读(1050) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~