Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <conio.h>
    int cprintf( const char *format, ... );

Description:
    The cprintf function writes output directly to the console under control
    of the argument format.  The  putch function is used to output
    characters to the console.  The format string is described under the
    description of the  printf function.

Returns:
    The cprintf function returns the number of characters written.

Example:
    #include <conio.h>

    void main()
      {
        char *weekday, *month;
        int day, year;

        weekday = "Saturday";
        month = "April";
        day = 18;
        year = 1987;
        cprintf( "%s, %s %d, %d\n",
              weekday, month, day, year );
      }

    produces the following:

    Saturday, April 18, 1987

Classification:
    WATCOM

Systems:
    All, Netware

See Also:
    _bprintf, fprintf, printf, sprintf, _vbprintf, vcprintf, vfprintf,
    vprintf, vsprintf

See Also: vcprintf

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson