PDA

View Full Version : What do I Need to get Started With C++


Noah0504
December 17th, 2005, 04:33 AM
Well, I tried learning C/C++ once a few years ago, but never really stuck with it.

Now that I've made the switch to Linux, I want to try to learn again. What do I need to get started? An IDE would be nice.

Leif
December 17th, 2005, 05:56 AM
try anjuta for an IDE. you'll also need the build-essential package for the compiler.

thumper
December 17th, 2005, 03:15 PM
I'd say you need a decent book. I can recommend some if you are interested.

Jessehk
December 17th, 2005, 04:49 PM
I'd say you need a decent book. I can recommend some if you are interested.

Me too.

C++ Primer Plus is great :)

cstudent
December 17th, 2005, 04:52 PM
I personally like Eclipse with the CDT plugin for an IDE. I also liked "C++ from Scratch" by Jesse Liberty. I found a copy on ebay for about $10.

Noah0504
December 17th, 2005, 05:05 PM
I'd say you need a decent book. I can recommend some if you are interested.
Sure. :)

Also, what packages do I need to actually just compile? From what I read, I think GCC is the compiler most used with Linux?

jerome bettis
December 17th, 2005, 05:25 PM
Sure. :)

Also, what packages do I need to actually just compile? From what I read, I think GCC is the compiler most used with Linux?

gcc is a C compiler, g++ is a c++ compiler. you can apt-get install build-essential to get them both plus whatever else you need to build stuff.

Adrian
December 17th, 2005, 05:28 PM
Bruce Eckel's "Thinking in C++" is free to download:
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html

Noah0504
December 17th, 2005, 07:33 PM
gcc is a C compiler, g++ is a c++ compiler. you can apt-get install build-essential to get them both plus whatever else you need to build stuff.
Well, that was easy enough to get everything I needed. I think I may try working without a IDE for awhile.

thumper
December 17th, 2005, 07:40 PM
Sure. :)
If you want a great book on C++ look at Accelerated C++ (http://www.acceleratedcpp.com) by Andrew Koenig and Barbara Moo. Here are links to a couple of book reviews, one from the ACCU (http://www.accu.org/bookreviews/public/reviews/a/a002212.htm) , and another from Angelika Langer (http://www.angelikalanger.com/Articles/Reviews/KoenigMoo/review.htm).

I've also started a blog over on the kubuntu forums where I cover C++ topics, Tasty Tidbits (http://www.kubuntuforums.net/mkportal/blog/thumper.html)