We are supposed to make a program.. and I have a problem.. It's a inventory program, and on the 1st option, you'll add things in the inventory.. on the 3rd option.. you have the option to cut the price... on the second option.. you need to display the changes you made in the txt file... my problem is, i can't change the price on the txt file.. the 'change' just goes after the last data entered.. it's in append mode since i've read that it will erase all the data inside the txt file if it is in write mode... i've tried to create pointers in my structure but it still doesn't work..
neknek 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.