Next: Other border functions, Previous: Let there be a window, Up: Windows Tutorial [Contents][Index]
You can also see in the above examples that I have used the procedures
cols
, and lines
. These procedures return the size of
the stdscr
.
The function getch
as usual gets the key from the keyboard, and
then the cond
expression acts on the key pressed. This type of
cond
expression is very common in any GUI-based program.