Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

摸索着交个作业... #45

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

Conversation

Flashkong
Copy link

@Flashkong Flashkong commented Mar 2, 2017

突然发现之前的作业一直都没交上。。。尝试一下

@@ -0,0 +1,8 @@
# include <stdio.h>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文件名的后缀应该是.c

Copy link
Owner

@luckymark luckymark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

了不起!能摸索着交出来,就是厉害的!
所有的C语言源文件都应该是.c后缀,请全部修改;
ps:重点是,提交之前,程序必须能正常运行

system("cls");
}

for(i=12;i>0;i--){
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smell! 闻到了重复的味道,这段代码与上面的非常相似,请设法消除之

}
}

}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

怎么多了一个括号?

Copy link
Owner

@luckymark luckymark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

暂时看到这里,请检查下还有没有类似的问题,一并修改后,我再接着看吧

@@ -0,0 +1,26 @@
# include<stdio.h>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件不需要了,应该删掉

@@ -0,0 +1,23 @@
# include<stdio.h>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

内容与前面的文件是一样,请删除一个

int age;
// age/6+age/12+age/7+5 = age-age/2-4

age = 28*9/3;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个不行哦

phead = NULL;
}

node*addback(node*phead, int newdata)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addback 改为:add_back 或者 addBack 都可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants