Re: ncurses_is_hard_to_learn.c

1998-09-25 Thread holotko
Canul Podkopayeva wrote: > /* > * Hello, sorry to bother again with lame code but... > * I get this code to build but it core dumps and gdb tells me that it > sigvfault at waddch. > * I have no idea on how to fix this. First your arrays are numbered wrong. Use (0 ... 5) not (1...6) Next, you

Re: ncurses_is_hard_to_learn.c

1998-09-21 Thread James
On Sun, 20 Sep 1998, Canul Podkopayeva wrote: - -/* - * Hello, sorry to bother again with lame code but... - * I get this code to build but it core dumps and gdb tells me that it -sigvfault at waddch. - * I have no idea on how to fix this. - */ - [snip] you've not used newwin to actually defin

Re: ncurses_is_hard_to_learn.c

1998-09-20 Thread Henrik Nordstrom
Canul Podkopayeva wrote: > * I get this code to build but it core dumps and gdb tells me that it > sigvfault at waddch. Simple standard C bug. Arrays start at 0, not 1. use win[0]...win[5] and it should work. The reason why it doesn't segfault in wattrset is that you have misspelled the number