[求助]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";
}
错误error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
请各位大哥帮帮忙,我是新手!!谢谢了!