site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Right you are, this works now. Thanks. On 2-Dec-06, at 00:02 , R. Matthew Emerson wrote: On Dec 1, 2006, at 11:49 PM, Andre-John Mas wrote: #include <curses.h> int main ( int argc, char **argv ) { getch(); return 0; } and compiling with -Wall: cc getch2.c -Wall -lcurses You have to call initscr() before you can call other curses functions. You might want to review ncurses(3). _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... gives me no warnings and yet it still crashes. Commenting out getch () the program no longer crashes. This email sent to site_archiver@lists.apple.com
participants (1)
-
Andre-John Mas