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.

FREE DNS Is Back

Sign Up Now
> C On Linux, How Do I work C on Linux
Raver
post Apr 11 2003, 11:59 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 11-April 03
Member No.: 662



How I work on C program in Linux. Like unix I wanted to work on C Programming. On the Terminal Popup, I am getting the Prompt. Now how do I proceed.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
digitalturbulenc...
post Apr 17 2003, 04:21 AM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 21
Joined: 5-April 03
Member No.: 633



Create a .c file with a text editor, for example emacs,
than compile it with gcc.

for example:

int main()
{
printf("hello!n");
return (0);
}

type:
gcc your_file.c -o your_file

than excute it with:
./your_file


--------------------
Free disposable email addresses to
stop spam mails!
Try it: TrashMail.net
Go to the top of the page
 
+Quote Post

Posts in this topic


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: 24th October 2017 - 01:00 AM