User profile: prestokeys

User info
User name:prestokeys
Bio:Recreational programmer who started learning in 2013. Currently addicted as I learn more and more.
History
Joined:
Number of posts:256
Latest posts:

Menu class. Need to add "Go back to previous menu"
Thanks JLBorges, for the idea. I was searching so hard for a design pattern when the solution was s...

Menu class. Need to add "Go back to previous menu"
Here is my motivation. After this sample run: [code] Please choose an option: 1. Hamburger.....3.49...

Menu class. Need to add "Go back to previous menu"
Here is a simplified version of my Menu class, where submenus can be inserted arbitrarily deep. I n...

std::result_of
[code] #include <iostream> #include <type_traits> int f(int) {return 2;} int main() { ty...

Ideas for a design to handle a crazy set of rules
A Wizard follows a certain school of magic. The school he follows gives attributes to him in no pa...