I have just moved from Java (Eclipse) to C++ (Visual Studio 2008) and one of the first differences I am seeing is that, when debugging, I am unable to check all the components of an array variable. Instead, I must write the specific position to get the value(eg Myvector[3] instead of just writing Myvector and getting all the values inside that array).
I have searched on the internet whether it is possible in Visual Studio to get all the values of the array but I have just found contradictory answers. That is why I want to ask you if it is possible to do that in Visual Studio and in that case how?
When you have an array Type arr[10]; you will be shown all 10 elements. If you have Type* ptr = arr; (or if you pass arr to a function) you will be shown only one.
If you used an std::vector you would be shown all elements.