为什么在VC++编译器中用 结构体类型 定义变量,编译器会提示错误呢。大神解答??(标记红色那里错了)#include<stdio.h>
#include<malloc.h>
#include<stdlib.h>
typedef struct Node
{
int data;
struct Node * pNode;
}NODE, * PNODE;
struct Stack
{
PNODE pTop;
PNODE pBottom;
}STACK, *PSTACK;
int main(void)
{
<font color=&quot;#ff0000&quot;><b> STACK S;//STACK等价于struct Stack</b></font>
return 0;
} |