March 19, 2024, 04:29:00 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: C Programming In Linux---Big problem  (Read 5155 times)

Offline shobhit143

  • Linux Noob !
  • *
  • Posts: 4
C Programming In Linux---Big problem
« 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

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
C Programming In Linux---Big problem
« Reply #1 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/

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
C Programming In Linux---Big problem
« Reply #2 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.

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
procedure to execute prog. in c
« Reply #3 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