Hello. coder 777, the vector Fluege is, translated to english, "flights". (flights == Fluege).
The class where the vector Flights or Fluege is, is called "offer".
Keskiverto, yes, I want to try to change the values "pointed to" by the pointers.
Then are you sure that the return value of FlugeinerDateilesen( name, x ) does not equal x? |
Yes, I am sure because FlugeinerDateilesen means Readflightofafile. It gets as parameters a name, which changes according to the number of i (example flight1, flight2, flight 3 and so on). And it searches those files and reads the data from there, to put it in the vector.
I know the first element of the vector is skipped. This is done purposefully, to read the rest of elements, if there is more than one value in the vector.
Does someone know how to keep those "flights" modified? Should I add other methods here? I thought I just needed to add some ampersand somewhere and this would compile easily