I am working on someone else project in C++. There are many variables which are created based on other classes. For example:
Class_C newVariable;
which Class_C
is created based on Class_B
and may be inherit from Class_A
and so on, thus newVariable
may contain many class members.
Is there anyway or easy to print or display all members of newVariable
in C++?
ps. I am using Visual Studio for coding and debugging.