[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie
On Fri, 2 Apr 1999, Shai S. Yahav wrote:
>hi,
>new in linux and programming...sorry for the dumm questions..
>
>where can i read about vi or any other editors on linux?
Type 'vilearn' at a prompt
You also want to check joe, pico, and emacs (probably in the order given).
There are others, these are default installed on any Linux.
>i tried to compile test.c and i got an error msg Undefined reference to
>'main'
>how can i define 'main'? what is 'main'??
Maybe if you tell us what test.c is ? ;) And what command did you use to
compile ?
If test.c is:
/*
* test.c
*/
#include <stdio.h>
void main(void)
{
printf("Hello, world\n");
}
/* end */
and the command to compile was:
# gcc test.c -o test
and to run:
# ./test
(^^this *must* be here)
and it did not work, then something is not set up right in your system.
>if u have any url about C (programming,compiling..) please send me the
>url.
http://www.actcom.co.il/~choo/lupg
hope this helps,
Peter
- Follow-Ups:
- Re: newbie
- From: Ira Abramov - Scalable Solutions <ira-lists-linux@scso.com>
- References:
- newbie
- From: "Shai S. Yahav" <syahav@isdn.net.il>