Skip to main content

Filing in C

Body

Reading From a File

In this part you will learn: 1. C syntax 2. Filing 3. Reading from a file In this tutorial we will learn about filing in C. Filing is a very important tool in C. In this program we will read a file from our computer and display its content on the screen. We will ask the user the name of the file and then we will fetch data from that file and store it somewhere in the program to later display it on the screen. Reading from a File Basic Step: Open Dev C++ then File > new > source file and start writing the code below.
  1. 
  2. #include<stdio.h></stdio.h>

Add new comment

File attachments