Using the C++ Math Library    

File I/O Functions

File Opening and Closing 
Function
Purpose
fclose
Close file.
fopen
Open file.

File Positioning 
Function
Purpose
feof
Test for end-of-file.
ferror
Inquire file I/O error status.
frewind
Rewind file pointer to beginning of file.
fseek
Set file position indicator.
ftell
Get file position indicator.

Formatted I/O 
Function
Purpose
fgetl
Read line from file, discard newline character.
fgets
Read line from file, keep newline character.
fprintf
Write formatted data to file.
fscanf
Read formatted data from file.

Binary File I/O 
Function
Purpose
fread
Read binary data from file.
fwrite
Write binary data to file.

String Conversion 
Function
Purpose
sprintf
Write formatted data to a string.
sscanf
Read string under format control.

File Import/Export Functions 
Function
Purpose
load
Retrieve variables from disk.
save
Save variables on disk.


 Character String Functions Data Types