In the package printf(...) is used for
formatted output. You can define an output string and include
variables of different types in it. See section 8.1.1 on page for more.
For the use of vwprintw(...) you have to include also .h.