Surely if in the man pages the parameters are integers then only integers
can be used?


-----Original Message-----
From: George S Pereira [mailto:[EMAIL PROTECTED]]
Sent: 05 July 2001 10:16
To: [EMAIL PROTECTED]
Subject: newwin function



Hi All,

        I'm using a Curses kit called CDK (Curses Development Kit).

        There is a C function in one of the files which calls the system
function newwin(). The parameters given are the height, width, Xpos and
Ypos.

        newwin() creates a window of the given height and width.

        But the problem, is that, if I give 1.5 as the height. It creates
a window having the height just 1 line.

        Is there any way that I can make the height to something like 1.5,
instead of 1, because, 1 is too small, and 2 is too big?????

        All of newwin parameter's according to the man pages are int.



George Savio Pereira
^^^^^^^^^^^^^^^^^^^^
Email : [EMAIL PROTECTED]


Reply via email to