- 博客(3)
- 收藏
- 关注
转载 rain.c:22: 错误:expected ‘)’ before ‘;’ token
/*rain.c--针对若干年的降水量数据,计算年降水总量,年降水平均量,以及月降水平均量*/#include<stdio.h>#defineMONTHS12//一年的月份#defineYEARS5//降水量数据的年数intmain(vo...
2015-03-31 22:19:00 276
转载 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__
今天在向一段代码中添加CRC校验代码时,出现了如下的编译错误: checking.c: 在函数‘get_int’中:checking.c:16: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ tokencheck...
2015-03-17 11:52:00 2520
转载 警告:隐式声明与内建函数'exit'不兼容解决方案
最近在看《Linux下C编程实践》,在讲到进程有关fork和exec函数的时候,报错了。 代码如下: 可以完整编译过 #include<stdio.h>#include<string.h>#include<stdlib.h>#includ...
2015-01-09 11:55:00 1272
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人