![]() |
#2
rjsp2013-05-22 13:51
|
请问这个程序错在哪里
#include <cassert>
using namespace std;
int main(){
int i=100;
assert(i!=100);
}///:~
调试显示的错误是
error C2871: 'std' : does not exist or is not a namespace
warning C4508: 'main' : function should return a value; 'void' return type assumed
请问这个函数需要返回值吗,另外‘std’又有什么错误?