一段简单的c++代码

[复制链接]
查看11 | 回复3 | 2013-5-23 19:34:15 | 显示全部楼层 |阅读模式
struct node{//这里是大括号int data;node *next;};//这里也是大括号//友情提示学编程要仔细struct node{//这里是大括号 int data; node *next;};//这里是大括号//友情提示学编程要仔细!...
回复

使用道具 举报

千问 | 2013-5-23 19:34:15 | 显示全部楼层
struct node(int data;node *next;);上面括号改为{ }...
回复

使用道具 举报

千问 | 2013-5-23 19:34:15 | 显示全部楼层
struct node{int data;struct node *next;};struct node *head,*p,*q;...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行