Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Help For C Programming
post Jul 10 2004, 07:04 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 10-July 04
Member No.: 3,316

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
Go to the top of the page
+Quote Post
post Jul 10 2004, 05:53 PM
Post #2

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

Ok..use following command to comile the file:

$ gcc -o foo foobar.c

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


And it should work.

PS:Assuming you haven't botched anything.

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th July 2018 - 10:20 AM