I din't get your question first. But when you print the name of the vector, then it displays all the elements that is there. In this scenarion it is right. As I can see that you are adding the arrays and array hashcode[not sure whether it is called as hashcode] is printed. We know that when array is printed by its name then we get the reference value[hashcode]. Don't you think it is doing that. Correct me if I am wrong.
Joined: Oct 10, 2005
Continuing with my previous reply. If you want to print the individual elements then you should use the function get(int index);