I am using VSCode for some C++ code.
With the following code:
int array [10] = {1};
I can visualize the entries of the array in the debugger:
However, when I dynamically allocate the array, with:
int* array = new int[10];
I get:
Is it possible to visualize the dynamic array as the one allocated with:
int array [10] = {1};
Aucun commentaire:
Enregistrer un commentaire