View Full Version : i need a C++ compiler for linux
bosshoof
May 27th, 2007, 12:17 AM
Hi
i need a C++ compiler for linux
xtacocorex
May 27th, 2007, 12:18 AM
sudo apt-get install build-essential
bosshoof
May 27th, 2007, 12:39 AM
sudo apt-get install build-essential
thanks
i did so
but i can't find the compiler under programming :(
where to find it ?
xtacocorex
May 27th, 2007, 12:47 AM
The compilers are terminal based.
If you have a code written, for this example we'll use hello.cpp for a hello world program we'd do the following to compile it.
g++ -o ./hello hello.cpp
To run the code, you will do:
./hello
public_void
May 27th, 2007, 03:31 AM
You can install an IDE like Anjuta which will use g++ as the c++ compiler.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.