Next: Attributes, Previous: Output functions, Up: Curses Tutorial [Contents][Index]
Well, printing without taking input is boring. Let’s see functions which allow us to get input from the user.
getch: get a character
getnstr: get a string
• getch class of functions: | ||
• getnstr class of functions: | ||
• An example of getnstr and getch: |