Wait, doesn't C have enumerations too? Wouldn't this be a small example in C?
typedef enum {x, o, empty} tile;
tile exampleTile = x;
So enumerations are cool but what happens if the user...
Type: Posts; User: MutantJohn
Wait, doesn't C have enumerations too? Wouldn't this be a small example in C?
typedef enum {x, o, empty} tile;
tile exampleTile = x;
So enumerations are cool but what happens if the user...
Okay then.
So for TTT, what I want to do is create a 3x3 array of characters initialized to something not equal to either 'x' or 'o'. I will prompt the user to put an 'x' somewhere in the array...
Actually, I don't know if this has been mentioned in this topic, but is there a link that'll show me how to program TTT in C++? I think that'd be amazing to learn how to do. I just want to start with...
I know Heroes of Newerth is coded in C++ so you can always try to make that game...