C compiler(gcc) is installed by default in lucid.Otherwise you can install
it as....
*sudo apt-get install gcc
*Then you can compile your C source code as..
gcc xyz.c      //xyz is the name of your source file
./a.out           //to run

To get C++ support for gcc you have to do.....
*sudo apt-get install build-essential*
*sudo apt-get install g++*

To compile C++ source code.....
g++ xyz.cpp    //xyz is the name of your source file
./a.out             //to run
-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to