Rodrigo Aceves wrote:

> OK, I have written the following command line:
> gcc -lncurses position.c
> position is the name of the file.
> It compiles OK but it does nothing!!, the only message I get is
> "segmentation fault"
> Anybody knows what the #^#!@!@ is this??

`Segmentation fault' indicates that you have performed an invalid
memory access (either reading or writing to a non-existent address, or
writing to a read-only address).

You should compile the program with the `-g' switch, and use gdb to
debug the program. See the gdb Info file for details.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to