Aug 17, 2010 at 11:41am UTC
Hello my dear friends. Any one please help me
//this is my file
01 Fish_Roll 100
02 Plain_Tea 101
03 Flour 158
04 Tea 169
05 Fruit_Juice 150
06 String_Hopers 147
07 EggSandwich 172
08 ThosaiwithChutney 147
09 Parata 103
10 SausagesBun 144
11 Roll_Bun 154
12 Tomato 145
13 Potti_cake 156
14 Ice-Cream 230
15 Vanila 220
16 Elephant_house 340
17 Banana_new 500
18 Cheese_Powder 200
i have a c++ resturant system which input data from above file. I want to know
how to add more products to the file and change the price of any item.
I am using a struct type variable array to load the file data.
Last edited on Aug 17, 2010 at 11:43am UTC
Aug 17, 2010 at 9:14pm UTC
If your code is written correctly it should read your file and update the menu by itself. Editing the file is all you should have to do.
BTW, I think I'll pass on the Potti_Cake!
Aug 18, 2010 at 10:42am UTC
can you post what you have done in the code ?