Hello Aatish,

Tuesday, December 27, 2005, 11:21:02 PM, you wrote:

 
AB> hi,
AB> I am quite new to linux
AB> Can anybody tell me tohow to write & link & execuite it on Linux

Like this:

$ vi it.c

...in vi, type:

i

#include<stdio.h>

main()
{

      printf("it\n");

      return 0;
}

<esc>:wq <Enter>

$ gcc it.c
$ ./a.out

Your machine should reply at the command line, by saying "it".

 
-wittig
website: http://www.robertwittig.com/
.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~-> 

To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to