关于用VC++ 6.0编译C语言的问题!
我用VC++ 6.0创建了一个Win32 console Application,创建一个空的工程.然后在里面添加了一个.C文件.同时我定义了如下类型:
typedef struct Node
{
int *pData;
struct Node *pNext;
}Node;
然后在主函数中声明Node *item;结果编译老出错.下面是报错的信息!搞不懂为什么,请高手指点!
error C2275: 'Node' : illegal use of this type as an expression
f:\通讯录\sortlist\mytype.h(5) : see declaration of 'Node'