Need help with vector subscript out of range

Pic: http://tinypic.com/r/f1k5si/9
The error occurs when i set the breakpoint at the "{". however there is no error when i set it at "satisfiedOrders()".

additional info:
That function reads a txt file, here is a snippet of the entries: http://tinypic.com/r/nq8oaw/9. sorry for the terrible quality I don't know how to wrap text in visual studio it is my first time using it.

thank you
Last edited on
The code to read from the file looks a bit fragile.
A sample of the input file would be useful.
Topic archived. No new replies allowed.