R
Ricky
Hi,
I am using VS.net 2003, I found that in the debugging mode, I cannot
view the content of a vector/array(2-D).
For example:
vector< vector<int> > v;
vector<int> rowVector(2);
rowVector[0] =101;
rowVector[1] = 102;
V.push_back(rowVector);
In debugging mode, I add rowVector[0] , rowVector[1] to "watch"
This is okay. But when I add V[0][1], or V[0].size()
it return -> V[0][1] CXX0058: Error: overloaded operator not found
using cout , I can write the content to the console.
What is the problem?
Thanks!
I am using VS.net 2003, I found that in the debugging mode, I cannot
view the content of a vector/array(2-D).
For example:
vector< vector<int> > v;
vector<int> rowVector(2);
rowVector[0] =101;
rowVector[1] = 102;
V.push_back(rowVector);
In debugging mode, I add rowVector[0] , rowVector[1] to "watch"
This is okay. But when I add V[0][1], or V[0].size()
it return -> V[0][1] CXX0058: Error: overloaded operator not found
using cout , I can write the content to the console.
What is the problem?
Thanks!