cputs() Write a String to the Console
#include <conio.h>
void cputs(str);
char *str; Pointer to output string
cputs() writes a null-terminated string to the console.
Returns: There is no return value.
Notes: A carriage-return-line-feed combination is not
automatically appended to the string after writing.
-------------------------------- Example ---------------------------------
The following statement prints a string to the console, along with a
carriage-return and line-feed.
#include <conio.h>
char *string = "Put this line on the console. \r\n";
main()
{
cputs(string);
}
Seealso:
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster