So i started C++ about a month ago and want to start getting into developing games.
I've read a few tutorials including the one on this site and have been reading books. I understand concepts up to a certain point, usually around object oriented programming or string objects, and i go completely lost, I reread the material im using and make sure i understand everything, but then ill just go on and not understand ANYTHING.
Is this a common issue? Any tutorials/books you guys would recommend?
I know basic I/O, variables, constants, and stuff like that, which i got real easy, but i've been struggling on learning more.
I think i might start learning C#, i heard its simpler and would be a better introduction to programming.
It is good to stretch yourself, writing code that forces you to learn new things. At the same time, it is easy to get frustrated if you reach too far past your limits.
Programming is all about climbing walls. Every time you hit a wall (and you never stop hitting walls, but after a while many walls are smaller than they were at first and really big walls come less frequently), just keep working at it. Often it requires you to look at the problem from a different angle or to work at it using a different tack.
Once you get better at programming, you could start game dev in Allegro. It is a free game library that is easy and straightforward to use. A site that explains some C++ basics and has some easy to understand Allegro tutorials is http://www.cppgameprogramming.com
With only a month of C++ under his belt, staying away from game programming and focusing on the basics, learning the language and the STL, is probably a better bet.
Do you really think so? I really think that after a month you have enough to get into games, and at least feel some sense of accomplishment (not that console stuff doesn't =D )
So far i know basic I/O, variables, and other basic stuff like that... i feel as if making a game while i learn will motivate me, because learning new stuff bores me because i dont feel as if its being useful.
I suppose that for some one month is enough, and for others even one decade is not enough. It really depends on who you are.
I CAN NOT agree with this statement enough. I got into programming in C++ when my Father bought me a book on it, because like you and so many others I wanted to write video games, I was twelve. I spent four years spinning my wheels and going in circles before it 'clicked'. After that happens though you'll never regret the time you put into this magnificent language.
If you want to do games I suggest SFML first, then pick up OpenGL. SFML is well documented enough that I didn't even need to dig around for a tutorial, but if you learn better that way then there are dozens around.
Also remeber if you get stuck this site will be here for a while.
Alright, i've started downloading sfml i downloaded the "Windows- MinGW (Code: Blocks)"
Is this what i need?
could someone explain just exactly what sfml does and a good place to start?
SFML does all of the ground work for the graphics for you. It's packed with functions, classes, structs and namespaces that do the cordinate translations, blitting, hardware communication and all of that mumbo jumbo so that you don't have to worry about it.
I'd start with the tutorial on their website. It even tells you step by step how to link it with C::B.