Learning C++; Which books should i get.
Moderator: Coders of Rage
-
- Chaos Rift Newbie
- Posts: 1
- Joined: Wed Mar 24, 2010 9:06 pm
Learning C++; Which books should i get.
Alright i want to learn C++ as it gives you the power i want to do whatever i want, and is so useful for learning other languages. The problem is, i do not know where to start. I am a decent Unity Script (Javascript) programmer, though im sure if any REAL programmer saw my code they would chew me out and delete it, but i can get most things down using it. I also do not understand C# all that well. So which book should i get to get me from where i am at to intermediate at least. And maybe from intermediate to beyond.
Also, i know i can learn this stuff online for free but i like to have the book in hand so i can mark it up and make notes in it, not to mention i just like to be able to read it when i am at school or on the bus. This is not to say you can't point me in the direction of some really helpful sites or videos to learn it if you know of any.
Thanks to anyone who took the time to read all this, and double thanks to anyone who helps me out!
Also, i know i can learn this stuff online for free but i like to have the book in hand so i can mark it up and make notes in it, not to mention i just like to be able to read it when i am at school or on the bus. This is not to say you can't point me in the direction of some really helpful sites or videos to learn it if you know of any.
Thanks to anyone who took the time to read all this, and double thanks to anyone who helps me out!
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Learning C++; Which books should i get.
I've never bought a book on C++ except for required college texts, most of which I never even opened. I learned through trial and error. Started out with a scripting language and a great forum community (long before this one became popular), and experimented with other people's examples. When I got stuck I would ask for help with whatever idea I was currently working with. Get an IDE / compiler set up, find a hello world example, and go from there. I'm sure others can be a bit more helpful with resources in text.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- EdBoon
- Chaos Rift Junior
- Posts: 258
- Joined: Fri May 28, 2010 10:44 pm
- Current Project: Top down multiplayer shooter using unity 3D
- Favorite Gaming Platforms: 360, SNES, ps1
- Programming Language of Choice: C++, C#
- Location: Atlanta, GA
- Contact:
Re: Learning C++; Which books should i get.
everyone has their way of learning, my buddy laughs at me when i buy books because he says the same info is free on the web, but i just concentrate better reading from a book and prefer it, not to mention i think it is presented much better. I still have my Sam's teach yourself c++ in 30 days and refer to it more than you would think. I would start there(or an equivalent teach yourself c++), it starts at the absolute beginning and covers a ton, plus its only like 25-35 bucks. here is the latest version
http://www.amazon.com/Sams-Teach-Yourse ... 762&sr=8-1
http://www.amazon.com/Sams-Teach-Yourse ... 762&sr=8-1
Undead Empire -> http://bit.ly/dYdu3z
Gamerscore Tracker -> http://bit.ly/vI4T4X
Undead Empire: Hellfire -> http://bit.ly/1AgC4ZY
facebook.com/BigRookGames twitter.com/BigRookGames
youtube.com/user/bigrookdigital
Gamerscore Tracker -> http://bit.ly/vI4T4X
Undead Empire: Hellfire -> http://bit.ly/1AgC4ZY
facebook.com/BigRookGames twitter.com/BigRookGames
youtube.com/user/bigrookdigital
- adikid89
- Chaos Rift Cool Newbie
- Posts: 94
- Joined: Tue Apr 27, 2010 6:59 am
- Current Project: small tiny-mini projects
- Favorite Gaming Platforms: PC I guess...
- Programming Language of Choice: c++
Re: Learning C++; Which books should i get.
I learned from http://www.cplusplus.com/doc/tutorial/ ... it's quite a useful site!
My first game C++/SDL Yoshi Combat! = http://www.youtube.com/watch?v=HQ9mMBEWSZg
==============================================================
==============================================================
Re: Learning C++; Which books should i get.
I made a mistake, I only have one book which is "C for dummies" by dan gookin and this meant due to everything on the internet being thrown together quickly and not designed with a object oriented manor then to this day I still code things C-styled. ( so I didn't really get exposed to C++ until much later )
[opinion]
My opinion ( no bitching ) would be to get a book instead of listening to people say "learn from the internet" because it may get you into bad habbits as I did.
As for "what book" to be honest I don't think it matters too much since they make it a lot easier to understand than any tutorial would, I'm currently learning C# from the cheapest book I could get from ebay and it breaks things down for you really well so it shows that you don't have to go get like a £300 book for it to be good.
If your not wanting to be a C++ guru and just want to start getting familiar with the launguage in general then I'd say internet tutorials should be good.
[/opinion]
[opinion]
My opinion ( no bitching ) would be to get a book instead of listening to people say "learn from the internet" because it may get you into bad habbits as I did.
As for "what book" to be honest I don't think it matters too much since they make it a lot easier to understand than any tutorial would, I'm currently learning C# from the cheapest book I could get from ebay and it breaks things down for you really well so it shows that you don't have to go get like a £300 book for it to be good.
If your not wanting to be a C++ guru and just want to start getting familiar with the launguage in general then I'd say internet tutorials should be good.
[/opinion]
- thejahooli
- Chaos Rift Junior
- Posts: 265
- Joined: Fri Feb 20, 2009 7:45 pm
- Location: London, England
Re: Learning C++; Which books should i get.
My opinion is that books are good for learning the initial parts of it, but later on internet tutorials are by far adequate for learning.
I learnt using Sam's Teach Yourself C++ In 21 Days, with no prior programming experience, and I found it simple to understand (for a programming book). i suggest getting a book, but going through it slowly and exploring what you have just learn to familiarise yourself with all the small details. If you rush throught the book, just doing the exercises from the book without separate attempts at making programs by yourself, you will not learn as well as you can and will forget a lot of things soon after reading. Also, with more complex areas such as pointers and references, which are often confusing at first, I would advise briefly going over them and not worrying too much if you do not understand at first, as a good understanding of pointers normally comes later when you really need them.
I learnt using Sam's Teach Yourself C++ In 21 Days, with no prior programming experience, and I found it simple to understand (for a programming book). i suggest getting a book, but going through it slowly and exploring what you have just learn to familiarise yourself with all the small details. If you rush throught the book, just doing the exercises from the book without separate attempts at making programs by yourself, you will not learn as well as you can and will forget a lot of things soon after reading. Also, with more complex areas such as pointers and references, which are often confusing at first, I would advise briefly going over them and not worrying too much if you do not understand at first, as a good understanding of pointers normally comes later when you really need them.
I'll make your software hardware.
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: Learning C++; Which books should i get.
I think you'll actually find that, once you understand programming itself, you will use documentation in order to use new libraries, and for concepts you will, once again, get books. Books are very useful for learning and illustrating concepts that are difficult to understand otherwise.thejahooli wrote:My opinion is that books are good for learning the initial parts of it, but later on internet tutorials are by far adequate for learning.
I learnt using Sam's Teach Yourself C++ In 21 Days, with no prior programming experience, and I found it simple to understand (for a programming book). i suggest getting a book, but going through it slowly and exploring what you have just learn to familiarise yourself with all the small details. If you rush throught the book, just doing the exercises from the book without separate attempts at making programs by yourself, you will not learn as well as you can and will forget a lot of things soon after reading. Also, with more complex areas such as pointers and references, which are often confusing at first, I would advise briefly going over them and not worrying too much if you do not understand at first, as a good understanding of pointers normally comes later when you really need them.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
- short
- ES Beta Backer
- Posts: 548
- Joined: Thu Apr 30, 2009 2:22 am
- Current Project: c++, c
- Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
- Programming Language of Choice: c, c++
- Location: Oregon, US
Re: Learning C++; Which books should i get.
Ditto this. Also, Effective C++ 3rd ed has been a joy to read, and it is really good. I've learned a lot from it, when to use private vs public inheritance, why making all functions in a class member functions is not always the best idea, how to best use the STL, etc... It's a really good book, containing 55 specific ways to improve that is easy to read.Ginto8 wrote:thejahooli wrote:My opinion is that books are good for learning the initial parts of it, but later on internet tutorials are by far adequate for learning.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson
- JaxDragon
- Chaos Rift Junior
- Posts: 395
- Joined: Mon Aug 04, 2008 2:03 pm
- Current Project: Kanoba Engine
- Favorite Gaming Platforms: PS3, PC
- Programming Language of Choice: C++
- Location: Northeast NC
Re: Learning C++; Which books should i get.
Personally I would recommend anyone buy "C++ Primer Plus" by Stephen Prata. It covers a range of subjects, is easy to understand, and well worth the money you pay.
You'll learn beginning concepts as well as some more advanced concepts. Great read.
You'll learn beginning concepts as well as some more advanced concepts. Great read.
Re: Learning C++; Which books should i get.
I learned from "Beginning C++ Game Programming" (It sounds like crap, but the author really makes sure you understand each concept, so it worked for me!), more than anything I experimented a lot and used the internet. cplusplus.com is a great site, also I google anything at all that I don't entirely understand.
Here's a batch of books that I somewhat used:
C++ Primer (4th edition)
C++ for Dummies (5th edition)
C++ Journal - Stroustrup's Guide To Learning C++
Here's a batch of books that I somewhat used:
C++ Primer (4th edition)
C++ for Dummies (5th edition)
C++ Journal - Stroustrup's Guide To Learning C++
I remember when I used to be into nostalgia.