NO PUEDO USAR LA LIBRERIA ncurses

Forums: 

HOLA A TODOS ESPERON ME PUEDAN AYUDAR CON ESTE PROBLEMA Q TENGO AL TRATAR DE USAR LA LIBRERIA NCURSES DE ANTE MANO LES QUEDARE MUY AGRADECIDO

PROBLEMA
[root@hostc lncurses]# gcc -lncurses hola_mundo.c
[root@hostc lncurses]#
//se toma unos segundos y pasa a esperar una nueva orden
el programa q intento ejecutar es:
#include "ncurses.h"

int main() {
initscr();
printw("Hola Mundo!!!");
refresh();
getch();
endwin();
return 0;
}

ALGUNOS DATOS DE MI INSTALACION COMO LOS DE MI COMPU SON LOS SIGUIENTES:

ARCHIVOS DE NCURSES
/usr/include/ncurses
total 360
-rw-r--r-- 1 root root 6590 feb 27 2006 cursesapp.h
-rw-r--r-- 1 root root 27646 feb 27 2006 cursesf.h
-rw-r--r-- 1 root root 59039 feb 27 2006 curses.h
-rw-r--r-- 1 root root 19518 feb 27 2006 cursesm.h
-rw-r--r-- 1 root root 8446 feb 27 2006 cursesp.h
-rw-r--r-- 1 root root 45086 feb 27 2006 cursesw.h
-rw-r--r-- 1 root root 7312 feb 27 2006 cursslk.h
-rw-r--r-- 1 root root 2891 feb 27 2006 eti.h
-rw-r--r-- 1 root root 8840 feb 27 2006 etip.h
-rw-r--r-- 1 root root 17206 feb 27 2006 form.h
-rw-r--r-- 1 root root 11881 feb 27 2006 menu.h
-rw-r--r-- 1 root root 1559 feb 27 2006 ncurses_dll.h
lrwxrwxrwx 1 root root 8 feb 15 2007 ncurses.h -> curses.h
-rw-r--r-- 1 root root 3721 feb 27 2006 panel.h
-rw-r--r-- 1 root root 3487 feb 27 2006 termcap.h
-rw-r--r-- 1 root root 37864 feb 27 2006 term.h
-rw-r--r-- 1 root root 3013 feb 27 2006 unctrl.h

VERSION de curses instalada es:
--->ncurses-5.5-19 2.6.15-1.2054_FC5
NO SE QUISAS FALTE ALGO SOY UN NOVATO EN ESTO :P

Cual es el problema?

Imagen de acl

Por lo que veo, compilaste con exito el programa, no hubo ningun mensaje de error y debe haberse generado un ejecutable en el mismo directorio en el que esta el archivo fuente (seguramente se llama a.out). Puedes ejecutarlo con './a.out'. Fijate en el "punto-diagonal", es importante.

NO ESCRIBAS EN MAYUSCULAS, PORQUE PARECE QUE GRITAS.

no escribas...

Imagen de Gantz

no escribas en mayusculas, ofende a los usuarios, visita este enlace

El Ajedrez es deporte, arte y ciencia. Analizada jugada a jugada la partida es una Ciencia; en su conjunto es una obra de Arte; a nivel competitivo es un Deporte.
(Carlos Torre, Gran Maestro mexicano)

[img]http://www.danasoft.com/sig/gantztux.jpg[/img]

Si prohibieran el ajedrez, me convertiría en contrabandista.
Miguel Tal, excampeón mundial