Functions HI-TECH C CGETS

Revision as of 18:30, 31 July 2017 by Kumokosi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CGETS, CPUTS

SYNOPSIS

#include  <conio.h>

char *    cgets(char * s)

void      cputs(char * s)


DESCRIPTION

Cputs() will read one line of input from the console into the buffer passed as an argument. It does so by repeated calls to getche(). Cputs() writes its argument string to the console, outputting carriage returns before each newline in the string. It calls putch() repeatedly.

SEE ALSO

getch, getche, putch