Hey guys, would just like a small amount of help please.
At the moment I have a 2d array which displays a map (made up of numbers), I was just wondering how I would put an X onto it and make it so the player can input coordinates and move to a specified location.
if(( playergender != "Male") || ("male") || ("Female") || ("female")) should be if(( playergender != "Male") && (playergender !="male") && (playergender !="Female") & (playergender !="female")). What you said was equivalant to if(condition1 || "male" || condition2 || condition3) That will always be true, because "male" is a non 0 value, so it evaluates to true.
Not to be a downer, but making a game in the command isn't a good idea if your starting off. It would be -way- easier to do a simple 2d game.
It will just get bigger and bigger and more confusing with every line. At least this is what happens to everyone I knew who tried it (including myself).
oh ok, I just thought it would be a good way of enforcing the c++ fundamentals. So you think I should just skip ahead to SDL and just begin from there?
That's what I did (I like allegro wayy more though). Very big user base, and all the SDL tut's I see are just old. At least, what I see.
If you want to do Game Development, I would try making a simple 2d game, while learning the basic's of C++. Then you can work your way up, while learning everything at once. That's what I did (Well, still doing).
If you choose to do Allegro, I could help you personally.