Hi all, im an average programmer in VB2010, and i would like to start making games so i need to learn C++ :) i have a few books to ask if they are any good:
1.) Sams Teach Yourself C++ in One Hour a Day (6th Edition) http://www.amazon.com/Sams-Teach-Yourself-One-Hour/dp/0672329417/ref=sr_1_4?s=books&ie=UTF8&qid=1301017618&sr=1-4
2.) C++ Primer Plus (5th Edition) http://www.amazon.com/Primer-Plus-5th-Stephen-Prata/dp/0672326973/ref=sr_1_4?s=books&ie=UTF8&qid=1301017641&sr=1-4
3.) C++: A Beginner's Guide, Second Edition http://www.amazon.com/Beginners-Guide-Second-Herbert-Schildt/dp/0072232153/ref=sr_1_1?s=books&ie=UTF8&qid=1301018371&sr=1-1
Are any of these books good for beginners?
If you have a good book that you would like to recommend, please do :)
The first book is quite bad and the second one is one of the best there is.
I don't know the third one, but it's unlikely that it's better than the C++ Primer.
i read few of the review on that book, some of the people said its extremely advance. is that true?
If you were completely new to programming then the book might be too advanced, but since you have a background in VB2010 you will already be familiar with the concept of variables, loops, functions etc. On the other hand, it is unreasonable to expect to be able to absorb everything in a 900 page book on a first read. Still with some programming background, I highly recommend it.
I believe to make games in C++, getting a firm grasp of C++ is only the beginning. Later you will dwell into graphics programming and game design which by itself can be another learning process altogether. To short-cut this process, you can look at "ready-made" game engine and add your own game elements using it.
If you were completely new to programming then the book might be too advanced, but since you have a background in VB2010 you will already be familiar with the concept of variables, loops, functions etc. On the other hand, it is unreasonable to expect to be able to absorb everything in a 900 page book on a first read. Still with some programming background, I highly recommend it.
Ok, i will purchase the book :) thanks for helping me :)
I believe to make games in C++, getting a firm grasp of C++ is only the beginning. Later you will dwell into graphics programming and game design which by itself can be another learning process altogether. To short-cut this process, you can look at "ready-made" game engine and add your own game elements using it.
Those game engines are to much for me :( i found a really nice one but it was like $3000 a year and i just want to start making simple games.
Unrelated question: If you already know VB, why not write games in VB? It's not like C++ was the only language you could write games in.
The game program i found is called DarkGame Studio, they have a really nice priced pack for $50
etc etc. I don't really see a need to get those paid premade solutions - sure, it's a bit easier to get started because some things are already premade for you. But you'll need to learn the stuff they did to make the premade solutions sooner or later anyways if you really want to make your own stuff.
I think a C++ programmer should have a reference book for the standard - there are things that may cause errors in a very subtle way you may not immediately notice.
“hanst99 (995) Mar 25, 2011 at 11:37pm
I doubt it, many people try it but the number of people who actually make a career in game programming is lower.”
You know, to get into game programming you don't have to spend any money. There are many decent free graphics, sound and physics API's out there.
I know, but i would like to have higher quality then the free game engines :) or else i would go for the free versions of software.
I don't get this 'I wanna be a games programmer' mentality - surely games programmers must be '10 for a penny' as they say
The only reason why i want to program games is cause it will keep me occupied in the hard C++ language, VB is super easy and i can see what im making, C++ is hard and you can see unless you run the program. I know theres not many people who get a career in making games but learning C++ is a major thing for college and jobs :)
No, the things you can buy aren't really any higher quality than the things you can't. In fact, chances are what you want to buy actually uses one of those free libraries above. The difference is that the engines you can buy usually offer some high level functionality that isn't integrated into the normal ones... you won't really be needing any of that at the start though, and later on you will probably have enough experience to write much of that yourself (or at least make a bad but sufficable fake of the effect).
The thing with game programming and learning C++ is, that you have to learn a lot of stuff completely unrelated to C++ to get into game programming...