The document describes various file handling functions in C/C++. It lists functions for opening and closing files (fopen(), fclose()), reading and writing characters and strings (fgetc(), fputc(), fgets(), fputs()), finding the end of a file (feof()), moving the file pointer position (fseek(), SEEK_SET, SEEK_CUR, SEEK_END), getting the file pointer position (ftell()), reading and writing formatted data (fprintf(), fscanf()), deleting files (remove()), and flushing file buffers (fflush()). These functions allow programs to perform basic input/output operations on files.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
79 views2 pages
Fopen : File Handling Functions Description
The document describes various file handling functions in C/C++. It lists functions for opening and closing files (fopen(), fclose()), reading and writing characters and strings (fgetc(), fputc(), fgets(), fputs()), finding the end of a file (feof()), moving the file pointer position (fseek(), SEEK_SET, SEEK_CUR, SEEK_END), getting the file pointer position (ftell()), reading and writing formatted data (fprintf(), fscanf()), deleting files (remove()), and flushing file buffers (fflush()). These functions allow programs to perform basic input/output operations on files.