How to see the content of dynamic array of objects in Microsoft Visual Studio (2010) on the debug watch window. For example.
# | User | Rating |
---|---|---|
1 | tourist | 3803 |
2 | jiangly | 3707 |
3 | Benq | 3627 |
4 | ecnerwala | 3584 |
5 | orzdevinwang | 3573 |
6 | Geothermal | 3569 |
6 | cnnfls_csy | 3569 |
8 | Radewoosh | 3542 |
9 | jqdai0815 | 3532 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | awoo | 163 |
2 | adamant | 161 |
2 | maomao90 | 161 |
4 | maroonrk | 152 |
5 | -is-this-fft- | 151 |
6 | nor | 149 |
7 | atcoder_official | 147 |
7 | SecondThread | 147 |
9 | TheScrasse | 146 |
10 | Petr | 144 |
How to see the content of dynamic array of objects in Microsoft Visual Studio (2010) on the debug watch window. For example.
Name |
---|
Type p, n and it will display {p[0], p[1], ..., p[n-1]} .
When the array is an array of structs it gets error.
It works in VS 2013.
Yes, but I need 2010 one. Thank you anyway. Isn't there any other way to do this which would work for 2010 ?
You are welcome. I think it doesn't work only in VS 2010(considering versions 2008, 10, 12, 13).
BTW, It seems you have edited your question and mentioned the version ;) .