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)