Data file handling in c++

  • Unique Paper ID: 142686
  • Volume: 2
  • Issue: 6
  • PageNo: 326-329
  • 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.

Copyright & License

Copyright © 2025 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{142686,
        author = {Kripashanker yadav},
        title = {Data file handling in c++},
        journal = {International Journal of Innovative Research in Technology},
        year = {},
        volume = {2},
        number = {6},
        pages = {326-329},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=142686},
        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.},
        keywords = {softwares; data file handling; constructors; pointers; error handling},
        month = {},
        }

Cite This Article

  • ISSN: 2349-6002
  • Volume: 2
  • Issue: 6
  • PageNo: 326-329

Data file handling in c++

Related Articles