I'm here to learn game programming not necessarily to and I'm learning C++ on my own. I learned some Java in college, but I'd like to take some of the concepts I learned in college and apply it to something a bit more.. er.. fun.
My interests are in either the OpenSource/Chinese game consoles (Dingoo A320, Caanoo) or older gaming systems (Dreamcast). I run Fedora Linux, which is my operating system of choice. I'm not really interested in using SDL, although OpenGL is pretty interesting to me.
So.. Here's where I'm at right now...
I'm thinking a good place to start in building an engine would be to create a function that would take in input from the keyboard.. The problem with this that I'm seeing is the following..
1.) most of the code that I think about creating, whether using a while/switch statement or an infinite for loop with an additional break enclosed in an if/then statement, only takes in one character at a time.. Is there a way that I can take in more than one character at a time? or would I count on something like a getche() statement and just hope that it catches the other key pressed?
2.) would I want to place something like this in a class (meaning a separate class .cpp file)? or would I want this as a function in the main file?
thanks! I hope to be around a lot more in the future!