I found the answer for both C Structs and C# classes but came back empty-handed concerning C++. EDIT : In C, you can\'t. In C# it\'s the GetProperties() method.
There is no reflection in C++. So, the answer is, you can't :)