[ubuntu-in] C,C++ and Java
Sk. Hasanujjaman
sk.hasanujjaman at gmail.com
Tue Aug 3 10:02:29 BST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100803/b04a465e/attachment.htm
More information about the ubuntu-in
mailing list