0_0_37598675_18797.cpp: In function 'int main()': 0_0_37598675_18797.cpp:12:18: error: 'hanoi' was not declared in this scope cout << hanoi(n) << endl; ^