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


4.7 Input functions

Well, printing without taking input is boring. Let’s see functions which allow us to get input from the user.

  1. getch: get a character
  2. getnstr: get a string
getch class of functions:
getnstr class of functions:
An example of getnstr and getch:

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