Recommend a c++ Guide to a total beginner

Associate
Joined
31 Mar 2010
Posts
790
Hey, I have been wanting to learn programming, specifically around game design for a long time and I am consistantly told to start by learning c++. However, every single guide / tutorial I have seen is either too vague or goes right over my head. I have no programming experience whatsoever.

So do you know of any books, websites, courses, youtube video seires etc that could help me out?
 
C++ Programming in easy steps

It really is in easy steps... it will be good to get you started, but it will be far from the only reference you need as you progress into game dev :)
 
C++ Primer Plus by Stephen Prata is a good beginner book.

But if you have no programming experience at all then I would recommend starting with Python then you can move to C++ in the future.

A good beginner python book would be head first programming.

Then when you have read that you could try some simple games with this free book -

http://inventwithpython.com/
 
Is this something you're looking at doing as a possible career or as a hobby?

If it's just a hobby then I would urge you to take a look into XNA.
You can build games for Windows or XBox 360 and it will be a damn sight easier than trying to do it in C++
http://creators.xna.com/en-GB/
 
I guess i'm looking into keeping my options open really. I'm 18 and planning on goin to university to study Economics in september and find work later in the financial sector. However, I love gaming and would like to keep the option of game design open for myself.

The main problems I have run into in the past are incomplete guides (skipping steps etc), guides that need some kind of programming experience (95% of guides are like this, even if advertised otherwise) or I follow the steps exactly and it simply does not work.
 
Given your career path I would suggest learning VBA first. It's 'simple' (in so much as programming languages are), it would give you that 'programming' basis you'll need for C++ in the future and in the financial sector will earn you a lot of £££.

I heard from another programmer that VBA guys in the City can rake it in!
 
Given your career path I would suggest learning VBA first. It's 'simple' (in so much as programming languages are), it would give you that 'programming' basis you'll need for C++ in the future and in the financial sector will earn you a lot of £££.

I heard from another programmer that VBA guys in the City can rake it in!

Surely you mean VB.NET? In the financial sector i believe they do love .NET vba is just a scripting language used in word/excel and is years old!

If you want quick results then learning C++ is not the best way to go about it and i would recommend XNA for a game dev hobbyist. But then trying to get your head about game dev in XNA without a clue about Object Orientation let alone programming in general will probably be fruitless. You do need to know the basics before you get started and writing a guide on how to make a simple game in C++ or c# (XNA) would require so much explanation you would just go right off topic so its best to start elsewhere.

I would suggest spending about a week or so playing around with something like SmallBasic and just make some simple games/programs. You will be able to do plenty of cool things with such a simple language aimed at complete beginners and get atleast an understanding of flow control and problem solving with a small library and a safe environment. The language is as easy as it gets really, but this means its completely impractical for anything other than messing around so I wouldn't spend to long with it :)
 
Surely you mean VB.NET? In the financial sector i believe they do love .NET vba is just a scripting language used in word/excel and is years old!

No I mean VBA, that advice did come from the same guy who tole me (falsely) that VB.NET was slower than C# though so he does speak a lot of crap....
 
I'm going to approach the answer in a different way to everyone else.

While learning a language straight off the bat is good for most cases, in some it's best to go in at a slightly different angle. Because you want to go into doing a bit of games design with no programming knowledge, it's probably best to learn using an already existing games engine and write scripts for it. Doing it this way will teach you the very basics of programming and give you instant visual results which should give you a taster for learning further programming.

For this reason i would suggest looking into Unity, it has a free version and gives you an option of what languages to script in (c#/ javascript/ Boo & possibly c++ in the future). There are many tutorials and script references to look though on the website and dotted around the net as well as a very active community which will help you if you get stuck.

Going this direction will allow you to concentrate at getting the basics of coding down without having to worry about how everything fits together, then once you do move onto something like XNA and full c# you will be able to see how things reference back to unity and fit together in what way.

Some people might not like this suggestion, but it will give you a good taster of what to expect in games design with the least amount of effort without having to learn all of the niggly ins and outs of a coding language. But remember, games design isn't a walk in the park, it can be very demanding and you will spend long hours trying to get things 'just right'.
 
Back
Top Bottom