Thanks all for responses.
(I was using ::, not :, I just typed it in wrong)
As for including all of the code, I'm actually building on the BWSAL code base, so I don't think I could post it all here. Basically, it's found here:
http://code.google.com/p/bwsal/
I'm editing BasicAIModule.cpp and BasicAIModule.h
I have only added the above lines regarding vectors, as I need to get that working before I proceed. I would like to point out that I am able to use "testV[5] = 99" -- so I am able to alter the vector somehow.
Can you give me an example of how I'd use resize to do this? That's unfortunate, because I thought push_back would automatically resize if there's not enough room.
If you think I should post all the code here, I can do that
Thanks again for all your responses