foo.cc:48:17: error: expected identifier before 'a'
int Hanoi(int n,'a','b','c');
^~~
foo.cc:48:17: error: expected ',' or '...' before 'a'
foo.cc: In function 'int main()':
foo.cc:53:25: error: expression list treated as compound expression in initializer [-fpermissive]
int Hanoi(n,'a','b','c')
^
foo.cc:53:25: warning: left operand of comma operator has no effect [-Wunused-value]
foo.cc:53:25: warning: right operand of comma operator has no effect [-Wunused-value]
foo.cc:53:25: warning: right operand of comma operator has no effect [-Wunused-value]
foo.cc:55:1: error: expected ',' or ';' before '}' token
}
^
foo.cc:53:6: warning: unused variable 'Hanoi' [-Wunused-variable]
int Hanoi(n,'a','b','c')
^~~~~
[Hydro](https://hydro.ac)提供评测服务