This seems to be a rather stupid question, but I create a pointer to an array of doubles :
double* tab = new double[10];
Then I fill the double array, but when I expand the tab pointer in Debug Mode, I only *tab which gives me the value of first element, which is normal. But how do I see the开发者_如何学C other elements?
thanks
If you write in the watch window tab,10 you'll see it as if its a 10 element array. 
Be careful though because this can also show you stuff beyond the allocated length of the array.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论