softwares; data file handling; constructors; pointers; error handling
Abstract
In today’s generation, millions are spent on developing softwares, and a number of them are made on c/c++ language. In c/c++, data file handling has a very vital role. This is because files help in storing data permanently as well modifying or deleting data from the files. This paper contains introduction to data files, opening and closing files using constructors and open() function, sequential I/O with files, detecting EOF, file pointers and random access and basic binary operations on files (including searching, appending data, inserting data, deleting data and modifying data) with error handling during file I/O.
Article Details
Unique Paper ID: 142686
Publication Volume & Issue: Volume 2, Issue 6
Page(s): 326 - 329
Article Preview & Download
Share This Article
Join our RMS
Conference Alert
NCSEM 2024
National Conference on Sustainable Engineering and Management - 2024