Skip to main content

Filing in C (part 2)


Writing in a File

In this part you will learn: 1. C syntax 2. Filing 3. Writing to 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 write data in a file. We will take input from the user and write that data in a file whose name will be entered by the user. Writing in a File Basic Step: Open Dev C++ then File > new > source file and start writing the code below.
  2. #include<stdio.h>&#13;
  3. #include<conio.h></conio.h></stdio.h>
These two are the most common and basic header files. The first one stdio.h is used to grant us most of the basic functions of C

Add new comment

File attachments