Next: , Previous: , Up: Curses Tutorial [Contents][Index]


4.6 Output functions

I guess you can’t wait any more to see some action. Back to our odyssey of curses functions. Now that curses is initialized, let’s interact with the world.

There are three primary functions which you can use to output characters and strings to the screen.

  1. addch: output rendered characters
  2. addstr: output unrendered strings
  3. addchstr: output rendered strings
The addch procedure:
addstr class of functions:
A simple addstr example:
A word of caution:

AltStyle によって変換されたページ (->オリジナル) /