函数stt不接受一个参数。这是为什么
#include<iostream>using namespace std;
int stt();
int main()
{
int n;
int m;
n = 5
m = stt(n);
cout<<m<<endl;
}
int stt(int x)
{
int f = x*x;
return f;
}
是为什么啊?
2013-03-04 20:50
2013-03-04 21:19
2013-03-04 21:29
2013-03-04 21:37
2013-03-04 21:38
2013-03-04 21:39