So. I have not found good documention online about my question. I have a file, "Item Documentation.txt" Ignore the // comments, those will not be there later
0001 //Item ID
5.67 //Item Price
Eggs 12x //Item Name
0002
3.12
Milk Whole Gallon
I want to make a program to search for the Item ID, and then grab the following item price as a double and item name as a string. How could this be done.
I need to preface that I am very much still learning c++.