I know there is an easy way to do this in C#, but i was wondering about C++. If I want to have an ifstream object defined that will read the input of a file, but i want it to read backwards. So basically here is the format I have.
Order # 1
1 Big Mac Combos.
Sub-Total: $ 5.50
Tax: * $ 0.0875
Total: $ 5.98
==============================================================================
I want it to read backwards and find the keyword "Order", so then i can read the # that I am on so the program can continue with the next number. Can anyone shed some light please? Thank you :) (Not school related, own personal fun)