Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cputs(DOS) — System V/386 Software Development System 3.2.2b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

     Name
          cputs - Writes a string to the console.

     Syntax
          #include <conio.h>

          void cputs(string)
          char *string;

     Description
          The cputs  function writes the null-terminated string
          pointed to by string  directly to the console. Note that a
          carriage-return/line-feed (CR-LF) combination is not
          automatically appended to the string after writing.

     Return Value
          None.

     See Also
          putch(DOS)

     Example
          #include <conio.h>

          char *buffer = "Insert data disk in drive a: \n";

          main( )
           {
                  cputs(buffer);
           }

          This program displays on the console the prompt pointed to
          by buffer.

                                                (printed 6/18/89)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026