weixin_慕沐6305626
2018-11-19 19:57
按照老师说的输入后就报错了,请问是什么原因呢? zn@zn:~/workspace/les2$ ls a.out hello.c max.c zn@zn:~/workspace/les2$ gcc max.c hello.c -o main.out max.c: In function ‘max’: max.c:10:5: error: expected declaration or statement at end of input } ^ hello.c:1:1: error: expected identifier or ‘(’ before ‘}’ tok
检查一下是不是括号不对,要英文状态下的。
Linux C语言编程基本原理与实践
203979 学习 · 451 问题
相似问题