
January 5th, 2010, 10:33 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 12
Time spent in forums: 4 h 48 m 5 sec
Reputation Power: 0
|
|
|
Save descriptions to txt format file
Hi there,
I just finished writing my project code in c named Shopping list refer to http://forums.devshed.com/c-programming-42/writing-project-shopping-list-655071.html.
Before I start writing a tutorial and submit, I would like to finalise a final code. Pretend that, I have bought 5 items and items had been entered into a form created in C earlier for example:
1. Rice | 2kg | 0.4$ | 0.8$
2. Beef | 2kg | 2$ | 4$
3. Veg | 3kg | 0.2$ | 0.4$
4. Pork | 4kg | 1.5$ | 6$
5. Toilet|misc| 10$ | 10$
Now, a question is that how can I save those descriptions to txt file at time when I close a form please?
Thank you and regards,
|