Actually this is not an assignment or anything... School days are done... Still there's lot of things that i don't know...
I just need some ideas on how to make an inventory using files...
Basically, the file contains the name of the "Items" "Prices" and the "Amount"...
I want to access them using file reading...I actually know how to write to text file and read from it... But i don't know how edit them... Example...
[B]myFile [/B] contains --> Item Price Pieces
Pencil $1 50
Eraser $2 50
[1] Pencil [2] Eraser [3] Edit Price
Enter item: 1
Enter #pcs: 2
//then in [B]myFile[/B] the pieces of pencil will reduce to 48...
// if the user choose 3 then he can access [B]myFile [/B]and edit the price...
Can anyone enlighten me please? I really wanted to learn...