[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
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);
}
See Also:
putch()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson