How to view the contents of a dynamically created array in xcode debugger (C++)?
int main(int argc, const char * argv[])
{
int *v;
int size;
cout << "Enter array size" << endl;
cin >> size;
v = new int [size];
for (int i=0; i<size; i++){
cin >> v [size];
}
// see array contents
return 0;
}
I want to view contents of v.