exit的错误
我在bc中使用exit函数,但是调试时提示错误:
function "exit" should have a prototype.
请问是什么原因呢?
我在bc中使用exit函数,但是调试时提示错误:
function "exit" should have a prototype.
请问是什么原因呢?
2004-06-13 00:57
那是没有加头文件, 把这个加上去试试
#include <stdlib.h>

2004-06-13 01:25
2004-06-13 07:23