11 Apr
2000
11 Apr
'00
20:07
Hi, On Tue, Apr 11 2000 at 19:46 +0000, Stuart Hall wrote:
This might be off-topic, but I am having a helluva time figuring out how to print an integer to a window in ncurses. It seems as though all the addstr() or addch() functions can handle is a char*, so do I have to convert my integer into an ASCII value with sprintf()?
No, just use printw("%d", integer) or wprintw(window, "%d", integer). Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/