Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Demonstrating of arrays

Hi all!
 
 
I found some problem in CDT Debugger, but maybe just my CDT version too old....
 
I have such example of code:
 

int m_a[3][3] = {{1, 2, 3}, {5, 6, 7}, {12, 13, 14}};

int* m_a_p = m_a[0];

int** m_b_p = &m_a_p;

int *** m_c_p = &m_b_p;

I try to watch by m_c_p in variables view. I expand it and see *m_c_p. Then I want to "display as array" *m_c_p for example 5 elements. ThereI can be seen wrong results... First element displays correctly, but others...

Igor S. Zamyatin

Interstron Ltd.

www.interstron.ru

 

 

 


Back to the top