[求助]VC++方面问题
我用的是VC++2005
#include <iostream>
void simon(int);
int main()
{
using namespace std;
simon(3);
cout <<"Pick an integer:";
int count;
cin >> count;
simon(count);
cout <<"Done!\n";
cin.get();
cin.get();
return 0;
}
void simon(int n);
{
using namespace std;
cout <<"Simon says touch your toes "<<n<<" times.\n";
}
错误 1 error C2447: “{”: 缺少函数标题(是否是老式的形式表?) e:\microsoft visual studio 2005 简体中文专业版\vc++2005\5\5\ourfunc.cpp 17
我是新手,请各位大哥帮帮忙!!谢谢了!