Main.cc: In function ‘int zhuanjinzhiz(int, int)’: Main.cc:17:1: error: expected ‘;’ before ‘}’ token } ^ Main.cc:18:20: error: a function-definition is not allowed here before ‘{’ token bool huiwen (int n){ ^ Main.cc:28:11: error: a function-definition is not allowed here before ‘{’ token int main(){ ^ Main.cc:39:1: error: expected ‘}’ at end of input } ^ Main.cc:39:1: warning: no return statement in function returning non-void [-Wreturn-type]