PDA

View Full Version : C++ Compiler Question


kleptos
May 9th, 2005, 10:16 AM
I am a total n00b to Ubuntu Linux. I found the site last night and i am downloading it now. I am looking forward to installing it soon and possibly moving it to my permanent workstation. Does the default install contain all the required items to write, compile, and run c++ applications? I am also a n00b to c++, so this will also double as a tutorial workstation so i can learn c++.

LordHunter317
May 9th, 2005, 10:42 AM
No, I believe you will have to install g++ and libstdc++-dev to be able to do basic C++ development. You'll have to install the -dev package for any other libraries you want to use.

kleptos
May 9th, 2005, 11:00 AM
Thanks for the information. I thought this might be the case, i just wanted to confirm it before i got home.

toojays
May 10th, 2005, 08:07 PM
If you install the "build-essential" package after installing the operating system, this will install the base set of build tools for C and C++.

You will still need to install -dev packages for any libraries you want to use.

thumper
May 11th, 2005, 09:30 AM
If you are looking to learn C++ I can recommend Accelerated C++ (http://www.amazon.com/exec/obidos/tg/detail/-/020170353X) by Koenig and Moo.

Tim