I have a final project for C++ class that requires us to demonstrat each thing that we've learned, a list of 24 things that range from using binary numbers, to loops to passing arrays and polymorphism and recursion.
What I would really like to try is to make a simple demo program of each of these items in independant programs,and let the user choose and run each program from a menu. I don't quite know how to implement this, but I was wondering if I can use namespaces and put each program choice in main in a separate namespace. I also get extra points if I can put all the 24 items in the order they were given, which makes a menu driven program ideal.
Or if there is a better way to implement this sort of design, I'd sure appreciate any input.