C compiler(gcc) is installed by default in lucid.Otherwise you can install it as....<br><i>sudo apt-get install gcc<br></i>Then you can compile your C source code as..<br>gcc xyz.c      //xyz is the name of your source file<br>
./a.out           //to run<br><br>To get C++ support for gcc you have to do.....<br><i>sudo apt-get install build-essential</i><br><i>sudo apt-get install g++</i><br><br>To compile C++ source code.....<br>g++ xyz.cpp    //xyz is the name of your source file<br>
./a.out             //to run