Writes output directly to the current application screen under format control; enabled for internationalization
#include <nwconio.h>
int NWcprintf (
const char *format,
...);
(IN) Points to the format specification string.
NWcprintf returns the number of characters written.
The NWcprintf function is identical to the cprintf function, except that NWcprintf is enabled for internationalization.
#include <nwconio.h> #include <stdio.h> main () { char *weekday, *month; int day, year; weekday="Saturday"; month="April"; day=18; year=1991; cprintf ("%s, %s %d, %d\n", weekday, month, day, year); }
produces the following:
Saturday, April 18, 1991