HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

                            char *cgets( char *s )


       - prototype in conio.h

       - reads string from console
       - CR/LF combination is replaced by \0
       - before calling, s[0] should be the max length of string to input
       - on return, s[1] contains the actual string length
       - returns pointer to s[2], the actual data input

Esc or Alt-X to exit cgets Home/PgUp/PgDn/End ←↑↓→