首页 > 编程知识 正文

计算机查成绩显示空,计算器计算错误怎么解决

时间:2023-05-05 23:12:29 阅读:173854 作者:14

结构节点

{

int data;

struct node *next;

} *start=NULL;

void create () )

{

char ch;

do

{

struct node *new_node,*current;

new_node=(structnode* ) malloc ) sizeof ) structnode );

打印((nenter the data : ) );

scanf('%d ',new_node-data );

new_node-next=NULL;

if (start==空) )。

{

start=new_node;

current=new_node;

}

else

{

current-next=new_node;

current=new_node;

}

打印(ndoyouwanttocreatanother : );

ch=getch (;

}while(ch!='n ';

}

尝试internet上的编译器后,得到了执行此代码的代码部分。 未定义的引用getch collect2:错误: 1D返回1退出状态

你怎么解决这个问题?请帮帮我

2015-12-15

Tannia

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。