error: a function-definition is not allowed here before '{' token 求大神帮忙解决错误。

日期:2013-06-15 08:54:51 人气:1

error: a function-definition is not allowed here before '{' token 求大神帮忙解决错误。

小错误,已改好,望采纳! #include using namespace std; void action1(int x,int y)//======================放到前面 { cout<<"x+y="<<x+y<<endl; } void action2(int x,int y)//=================这个是action2 {
    A+
热门评论