typedef struct _MyList
{
int ID;
struct _Mylist * pNext; //here
}MyList;
{
int ID;
struct _Mylist * pNext; //here
}MyList;
解决方案 »
- 关于显示本机网络连接信息
- 求高人指点方向-线程跟管道书籍
- 请高手指教一个关于vc编译器的难题
- 有关SQL列 [Int/number]
- 如何穿透http代理服务器
- 请问哪里有VC++6.0的下载地址呀
- (菜鸟问题)请问怎么将一幅图片或者一段视频转换成二进制流,并获取流的指针?
- 请问:在Dialog中使有用Picture控件显示位图,在win98下,透明背景为什么是黑色的?
- 向高手请教“DAO能够打开SQL SERVER 2000创建的数据库吗?”高分相送,既回既的!!
- 用ShellExecuteEx函数运行Office2007的问题
- ===如何知道在ListCtl中单击时,单击了哪行哪列??===
- 高手请进,帮我看看这是什么意思?感谢非常
{
int ID;
Mylist * pNext;
}MyList;
试一试?
{
int ID;
struct Mylist * pNext;
}MyList;
编译通过了,没有问题。这样不可以么?
{
int ID;
struct Mylist * pNext;
}MyList;
这样在C语言中都可以
iProgram(新北京-新奥运)的回答是正确的!!!to red_eyes(红眼睛)、cuick2000(比尔该死)、yuhaiyu0344(yuhaiyu0344):
你们编译能通过,是因为我写错了,试一下下面的结构,编译就通不过了:
typedef struct _MyList
{
int ID;
struct Mylist * pNext;
}MyList;所以应该这样定义:
typedef struct _MyList
{
int ID;
struct _MyList * pNext;
}MyList;
iProgram(新北京-新奥运)的回答是正确的!!!to red_eyes(红眼睛)、cuick2000(比尔该死)、yuhaiyu0344(yuhaiyu0344):
你们编译能通过,是因为我写错了,试一下下面的结构,编译就通不过了:
typedef struct _MyList
{
int ID;
struct MyList * pNext;
// ^
}MyList;所以应该这样定义:
typedef struct _MyList
{
int ID;
struct _MyList * pNext;
}MyList;