443
edits
-
Changes
Created page with "<strong>CGETS, CPUTS</strong> ==SYNOPSIS== #include <conio.h> char * cgets(char * s) void cputs(char * s) ==DESCRIPTION== <strong>Cputs</strong>() will read..."
<strong>CGETS, CPUTS</strong>
==SYNOPSIS==
#include <conio.h>
char * cgets(char * s)
void cputs(char * s)
==DESCRIPTION==
<strong>Cputs</strong>() will read one line of input from the console
into the buffer passed as an argument. It does so by
repeated calls to <strong>getche</strong>(). <strong>Cputs</strong>() writes its argument string to the console, outputting carriage returns
before each newline in the string. It calls <strong>putch</strong>()
repeatedly.
==SEE ALSO==
getch, getche, putch
==SYNOPSIS==
#include <conio.h>
char * cgets(char * s)
void cputs(char * s)
==DESCRIPTION==
<strong>Cputs</strong>() will read one line of input from the console
into the buffer passed as an argument. It does so by
repeated calls to <strong>getche</strong>(). <strong>Cputs</strong>() writes its argument string to the console, outputting carriage returns
before each newline in the string. It calls <strong>putch</strong>()
repeatedly.
==SEE ALSO==
getch, getche, putch