Best Book to Learn C/C++

Associate
Joined
21 Oct 2009
Posts
1,613
Hi guys,

Just wondering if anyone has a book suggestion regarding learning c/c++.

I do currently learn it but I'm going to stop soon (Going to Computer Architecture) and I want to keep up with the C/get better and better at it.

I would search but there is no point and I want the most up to date answer (considering new books come out all the time).

Thanks in advance.

Ash

P.S. I use Visual Studio Pro 10 at the moment if that needs mentioning.
 
Learned C/C++ years ago and it's a quite old book now, not sure if it's still in print.

Jamsa's C/C++ Programmer's Bible - The Ultimate Guide To C/C++ Programming.
 
^^^ bahahahahahahaha. Just no. FORTRAN is a pos that should basically just die. "Friendly" it is not!

Nowt wrong with a little but of Fortran, its easy and lovely to progra...

sorry I couldn't keep it going there, though in all fairness a lot of numerical, scientific and legacy stuff is still written in Fortran so its good to sort of be aware of it.

Anyway to OP, it really depends on how much programming knowledge you have already and what you have experienced so far, learning a new language is a fairly simple thing if you have the background knowledge to back it up already.

If you want to continue programming, I would suggest just getting a little project of your own together and doing it in C / C++ depending on your project it doesn't have to be big or useful, just something you want to do in your spare time, books I find to be of limited use personally, unless you are in a structured learning environment.
 
I would recommend staying away from C unless you know for certain you want to get into embedded. C++ good, C bad (for beginners, why make them suffer?).
 
^^^ bahahahahahahaha. Just no. FORTRAN is a pos that should basically just die. "Friendly" it is not!

Much friendlier than C :p FORTRAN is very useful for scientific computing, given the vast amount of libraries and functions written for it. The syntax is easier for people not experienced in programming and is barely slower than C/C++ in numerical benchmark cases of real simulations.

(just to clarify, our codes use a mix of FORTRAN, C and Python, so I'm not a total FORTRAN-fanboy!)
 
"C, How to program"

Thanks, I'll have a look.

Anyway to OP, it really depends on how much programming knowledge you have already and what you have experienced so far, learning a new language is a fairly simple thing if you have the background knowledge to back it up already.

If you want to continue programming, I would suggest just getting a little project of your own together and doing it in C / C++ depending on your project it doesn't have to be big or useful, just something you want to do in your spare time, books I find to be of limited use personally, unless you are in a structured learning environment.

I think a book is best. We learnt C just because we're beginners so I know it to a basic level. I used to program in PASCAL (I think its PASCAL) using Delphi but C++ is more wide stream. Thanks for the suggestion though. I do intend to start a website so I guess that is a project.

I would recommend staying away from C unless you know for certain you want to get into embedded. C++ good, C bad (for beginners, why make them suffer?).

Too late :( But I will get myself into C++ no doubt.



To all replies, thanks a bunch, really appreciate it. I'll look at all suggestions even if I haven't quoted them.
 
C

This
http://www.amazon.co.uk/Programming-Macmillan-Master-Tony-Royce/dp/0333638514
Then This
http://www.amazon.com/C-Programming-Language-2nd-Edition/dp/0131103628

C++
If you can find it, this is awesome honestly.
http://www.amazon.com/Up-Running-C-...=sr_1_1?s=books&ie=UTF8&qid=1336586445&sr=1-1
After that
http://www.amazon.com/The-Programmi...=sr_1_1?s=books&ie=UTF8&qid=1336586468&sr=1-1

I personally work in embedded with C/C++ & Python. Easiest learning route is IMO C then Python (just to learn OO principles without killing yourself) and then C++.
 
Back
Top Bottom