Namespaces can also be useful-if you know what your doing

You can define a your own namespace to hold other data for example

namespace Guesses{ std::string HiddenGuess = "string here"; ...;}

for more info i learned how to use them here

and if your interested in how i used them in my code

My IsGameWon method using enum class and switch

Privacy & Terms