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/C++ v10.0 : C library - <b>synopsis:</b> 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.

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

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

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