#include <stdio.h>
typedef struct tagRECT {
long left;
long top;
long right;
long bottom;
} RECT,*PRECT,*NPRECT,*LPRECT;
int main()
{
LPRECT lpRect;
printf("否");
printf("%d\n",(lpRect->bottom)); //为什么这里挂了
printf("否");
while(1){
Sleep(1000);
}
return 0;
}
为什么打印结构体指针成员失败,程序跑不到2222位置就挂了