Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how to creat files in c?
how to open and read structs in a file?
Posted
Comments
Prerak Patel 16-Jan-12 1:56am    
Any efforts?
Albert Holguin 16-Jan-12 16:27pm    
this is seriously a very basic task, use google to get information, put some effort into doing this...

1 solution

This is very nice document on File Handling in C

read it
http://www.mycplus.com/tutorials/c-programming-tutorials/file-handling/[^]

But if you specify your queries with some example where you are not able to code do let me know
 
Share this answer
 
Comments
camelya1 16-Jan-12 9:35am    
thanks but i coudnt open your link!!!!
for example i have a struct consist of name,family name,credit number for a student.
how can i save this struct in a file and search it next time??
Albert Holguin 16-Jan-12 16:26pm    
The link works fine...
RDBurmon 17-Jan-12 0:51am    
Thanks Albert , Camelya Please try to read this and let me know if you have any issue.
camelya1 17-Jan-12 1:31am    
how can i read it?
i cant open it!!!!!!
RDBurmon 17-Jan-12 1:35am    
What happened when you tried to open it ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900