Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A
/** * Simple main to create and solve a game of the Tower of Hanoi puzzle. * * @author * Wade Fagen-Ulmschneider <waf@illinois.edu> */ #include "Game.h" #include <iostream> int main() { Game g; std::cout << "Initial game state: " << std::endl; std::cout << g << std::endl; g.solve(); std::cout << "Final game state: " << std::endl; std::cout << g << std::endl; return 0; }
run
|
edit
|
history
|
help
0
Reverse polish notation
Vector of pointer of P...
C++ Operator Overloading
Dynamic call
Error
UTF-8 in C++11
Dequeue Array-Based Example
Namespace scope qualifier
Task on Задача C. Белочка
Maze problem solution