Help - Search - Members - Calendar
Full Version: Help For C Programming
Linuxhelp > Support > Technical Support
praveen_s_solanki
hello everybody i am new to linux. i am having problem rgarding running a c programme.i don't know what to do.please give me tips. thanks
Hemant
Ok..use following command to comile the file:

$ gcc -o foo foobar.c


Unless you are using come libraries or your C program is wrong...you should get a executable by name "foo" in your current directory and now you can execute it using command:

$./foo


And it should work.

PS:Assuming you haven't botched anything.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.