C语言 问题 代码如下 警告那些可以不用理 最好的话就说一下为什么警告,错误是必须要说的

日期:2016-04-05 20:31:08 人气:1

C语言 问题 代码如下 警告那些可以不用理 最好的话就说一下为什么警告,错误是必须要说的

error: `main' must return `int' //mian函数的定义是 int main(void) ,void main是错误写法。 error: `srand' was not declared in this scope //srand函数需要包含头文件#include error: `rabd' was not declared in this scope //你的函数名打错了,应该
    A+
热门评论