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

Title: C Programming In Linux---Big problem
Post 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
Title: C Programming In Linux---Big problem
Post by: neo on July 06, 2005, 01:07:35 PM
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/
Title: C Programming In Linux---Big problem
Post by: dragoncity99 on July 06, 2005, 01:26:20 PM
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.
Title: procedure to execute prog. in c
Post by: deven_01 on October 08, 2005, 06:57:11 AM
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