Monday 30 November 2015

Read and Write the Structure in File using C ( File Handling )


File Handling in C:- The File handling is used in c to store the information in file. we can read the data from file and write the data into file for securing your data. Here the below example can show you how to write and read the data of structure in c. we can read entire structure and write the entire structure into a file rather than character by character.

FWrite:- The Fwrite can write your data into a file. It can write the structure into your file the structure can contain multiple property for the one instance of a record.

The Below Example can show you how it can be insert the record of employee using structure.
#include<stdio.h>
#include<conio.h>
#include<process.h>
void read();
void write();
struct record
........
Here is not the end. For full code about Read and Write the Structure in File using C ( File Handling )please visit FindNerd.
As it is a technology forum platform also ,then one can find technical blogs,Record Desktop and Share, ask questions related to various languages like PHP, android,HTML Questions and Answers and also check their own technical knowledge by giving the aswers of the technical questions posted over Findnerd.




No comments:

Post a Comment