settle@siemens.UUCP (01/17/86)
I am currently writing a data input sheet in C and I am having trouble with a library function. The include file is called "curses.h" and it is a screen editing package. There is (or I think that there is) a bug in one of the commands "printw". Has anyone out there ever used this package? If so, could you write a response to this note with some advice on how to get around the bug (if it is a bug). The problem occurs when trying to print a string. When used in a loop, the command printw("%-35s %f"); will result in something like this: Whatever 675.1 your 45.32 string 5643.3 is 453.6 I have checked but cannot find any pattern associated with the seemingly random placement of the floating point number. Can anyone help? Thanks. Ken Settle