All right, I may have written this slot machine code, however, I am not claiming it is mine, it was on a very old thumbdrive I found (it had 500 megabytes capacity so it was very old, also had some pictures of my last dog as a puppy, Gidget).
In the past, most VC++ or C++ projects used console output, nice for the instructors, nice for the students, really boring for the rest of the world. The rest of the world doesn’t care about what language you use in your code, and by that I mean this: All software programmers in the world make up a “rounding” error in the World Population, maybe.
So if you are here because you are concerned about where XNA and so forth has disappeared to, then welcome.
If you aren’t worried like me, then welcome as well. If you are here to learn about how to program Metro with C++, welcome. If you are here because you have a homework problem that asks you create a slot machine solution, then please come back after you do your homework. Or not.
Here is the code, which is pretty simple, actually it is quite simple, and the user interface is extremely boring. It is one main method, uses the evil goto statement, but it does use a switch, kinky.