Try to learn more about stdio.h and more particulary about fopen (open a file), fclose (close a file), printf (print string to standart output), fread (read a file).
There are many other way to manipulate files but it's spending to much time to speak you about.
As said thanaraj, you'll find the answer in books or in web site.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.