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
Narrowing error
insertion sort
hello world 3
Tree Traversal and Node
auto Keyword Example
non-template template parameters for container stream insertion: SFINAE
INHERIT_CTORS default constructor
C++ Register
Делим на Ноль
Recursive Call Example Sum