I am struggling to find my way out of this situation. I just want to call the [] operator within the () operator, which will be finally used/written on the screen with the ostream << operator. Whenever I'm using the sintax _elements[index] the execution crashes with the error vector out of range.
Do you have any ideea what should be the correct code ?
Header File:
typedef unsigned int Uint;
typedef vector<Uint> TVint;
typedef vector<Uint>::const_iterator Titerator;