fgets - C++ Reference - cplusplus.com - The C++ Resources Network
This example reads the first line of myfile.txt or the first 99 characters, whichever comes first, and prints them on the screen. See also fputs Write string to stream (function ) fgetc Get character from stream (function ) gets Get string from stdin (fun...