Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Java
9.4K+ articles
Misc
7.7K+ articles
C++ Programs
1.5K+ articles
C Language
1.3K+ articles
C Programs
442+ articles
C-Functions
90+ articles
cpp-file-handling
57+ articles
C-File Handling
44+ articles
File Handling
24 posts
Recent Articles
Popular Articles
clearerr() in C
Last Updated: 03 February 2025
In C, file handling errors can be handled using ferror() and feof() functions. But these error flags persists until they are cleared. clearerr() is a built-in function use...
read more
C Language
C-Functions
File Handling
ferror() in C
Last Updated: 03 February 2025
In C, ferror() is a built-in function used to check errors in files during file operations. It provides a simple way to do file operations without any interruption in your...
read more
C Language
C-Functions
File Handling
remove() in C
Last Updated: 23 July 2025
In C, remove() is a standard library function is used to delete a file from the file system. It provides a simple way to manage files in the storage from a C program.Examp...
read more
C Language
C-Functions
File Handling
File I/O in Rust
Last Updated: 28 April 2025
File I/O in Rust enables us to read from and write to files on our computer. To write or read or write in a file, we need to import modules (like libraries in C++) that ho...
read more
Rust
File Handling
Rust modules
Rust Keywords
How to write in a file using fputs() in C
Last Updated: 23 July 2025
fputs() is a function declared in stdio.h header file. It is used to write the contents of the file. The function takes 2 arguments. The first argument is a pointer to the...
read more
C Programs
C Language
File Handling
Bank account system in C using File handling
Last Updated: 23 July 2025
This article focuses on how to create a bank account system using C language and File handling in C.Approach:Let's discuss the approach in detail, covering all the functio...
read more
C Language
File Handling
How to create Binary File from the existing Text File?
Last Updated: 23 July 2025
In this article, we will discuss how to create a binary file from the given text file. Before proceeding to the steps, let's have an introduction of what are text files an...
read more
C++ Programs
C++
C-File Handling
File Handling
C program to create hard link and soft link
Last Updated: 23 July 2025
There are two types of links, i.e., a soft link and a hard link to a file. C library has a function link() that creates a new hard link to an existing file. The function s...
read more
C Language
File Handling
C program to read a range of bytes from file and print it to console
Last Updated: 06 August 2025
Given a file F, the task is to write C program to print any range of bytes from the given file and print it to a console.Functions Used:fopen(): Creation of a new file. Th...
read more
C Programs
C Language
C-File Handling
File Handling
Employee Record System in C using File Handling
Last Updated: 23 July 2025
Employee Record System is software built to handle the primary housekeeping functions of a company. ERS helps companies keep track of all the employees and their records. ...
read more
Project
Technical Scripter
Internship
C Programs
C Language
Technical Scripter 2020
C-File Handling
File Handling
Experiences
Bookshop management system using file handling
Last Updated: 23 July 2025
The task is to build the bookshop management system using file handling in C++ that helps to keep track of all the book records in a file. Below are the features to be imp...
read more
Project
Technical Scripter
C++ Programs
C++
Technical Scripter 2020
C-File Handling
File Handling
Error Handling During File Operations in C
Last Updated: 22 April 2026
Error handling ensures that your program can handle unexpected situations, such as missing files or insufficient permissions, without crashing. In this article, we will le...
read more
C Language
cpp-file-handling
C-File Handling
File Handling
C Error Handling Programs
How to work with file handling in C++
Last Updated: 23 July 2025
Prerequisite: File Handling through C++ ClassesIn C++, files are mainly dealt by using three classes fstream, ifstream, ofstream available in fstream header file. In this ...
read more
C++
Technical Scripter 2020
C-File Handling
File Handling
Project-Ideas
Sorting strings from the text file
Last Updated: 15 July 2025
Given a text file "file.txt" that consists of strings, the task is to sort all the strings in alphabetical order in that text file.Approach: The idea is to use the concept...
read more
Strings
Sorting
C++ Programs
DSA
cpp-file-handling
C-File Handling
File Handling
Relational Database from CSV Files in C
Last Updated: 15 July 2025
In C programming, using arrays and string for data storage at run time which is volatile and gets memory in RAM. But to store data permanently in a hard disk which can be ...
read more
C Language
CSV
C-File Handling
File Handling
1
2