Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Linux in General => Linux Development & Programming => Topic started by: shobhit143 on July 04, 2005, 11:45:08 AM
-
I need help regarding the C Programming in Linux.....actually i dont know ABC of C in Linux.....is there ne place which can guide me from the begining.Thank you!
Shobhit
-
The language is the same. In linux you have to wite the programme in text mode then compile the code.
You may use an ide for linux Anjuta
http://anjuta.sourceforge.net/
-
Im using Eclipse-CDT to do compilation. Everything works fine :)
http://www.eclipse.org
Things that i things work using it:
1. newt
2. FLTK (www.fltk.org)
3. gzip
4. Log4cxx
5. CPPUNIT
Overall, i think i'ts quite nice, just that it's a little slow for code hinting and compilation. Advantages:
1. U don't need to write ur own make file if ur lazy
2. Compiling and adding libraries is piece a cake
3. Syntax highlighting.
4. Code templates for classes.
5. Reduce syntax errors as u code.
That's my experience using it.
-
do the following
open konsole or xterm
creat new file with c ext i.e. vi first.c
after completing the program use following
$gcc -o first.o first.c
which will create first.o as an object file
run the following
$./first.o
It will show output