Feel lost, hard to progress.

Pages: 12
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.
Last edited on
Did you try to write some code? It helps when you see what some features are for.
If you don't understand OOP you should better not get into C#
You can't understand it without experience. Start coding using what you know already.
Alright, i'll keep writing with what i know now and slowly start to try and implement the stuff i don't understand.
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.

Have you found Project Euler yet? http://projecteuler.net/

You can always ask for help here.

I'll get started with one right now, thanks.
Last edited on
Don't give up!

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.

We are always here to help also.
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
I really dislike Allegro. I think SFML is much nicer...
http://www.sfml-dev.org/
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 )

Though IDK, I suppose it depends on the person
Write a zork clone, then you get to learn C++ and you get to make a game in the process.
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 do recommend taking at least a good long look at SFML, though. It's not only an easy-to-use library but it also strikes me as fairly well-written.

Good luck with the wall-climbing! ;)

-Albatross
I started programming by writing "graphical" games. (Initially they were ASCII art though...)
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.
Last edited on
Alright, so "Windows- MinGW (Code: Blocks)"" was the correct one to download?
Only if you're using Windows. Otherwise it was the wrong one to download :p
Pages: 12