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
Dequeue Array-Based Example
Alternation regex
simple in-memory b-tree
"nearest enclosing namespace"
C++ out of ref
Test titlu
numeric_limits
C++17 function traits not works
Recursive Call Example Sum
Uno