Problem is that just when this code get executed, the values in this vectore gets corrupted like this: http://img15.imageshack.us/img15/9681/capturevector1.png
I.E. values for variables are nothing like I have specified in those two lines. Guess the answer to this one is pretty simple, but because of being new to c++, I just don't know how to google for it ;)
If you get a job as a C++ programmer, you will be expected to use member initialization lists. It's easier to develop good habits now while you are learning the language than to break bad habits later.