for google and stackoverflow search could not help me I have no choice but to ask you guys for help.
I would like to use an array of vectors - I know that this array will only have to contain two vectors. Thus
If you want two vectors, you should declare:
testVect in your code.
And you should enable all warnings on your compiler.
BTW, you could install a recent Linux distribution, with a recent GCC compiler (e.g. 4.7), and run it as
g++ -Wall -g it would certainly have warned you if you statically accessed the
testVect out of bounds, like it seems that you have had.
Both GNU/Linux and GCC are free, so your manager could be happy.