|maybe professionals here at codeproject have a hint for me.
Please see following example:
using namespace std;
int c, d;
#define Circumference c
#define Diameter d
int main ()
cout << "Please enter diameter: ";
cin >> Diameter;
Circumference = 3.14 * Diameter;
cout << " Circumference is " << Circumference << endl;
My IDE (Understand) report possibilities always break down the #define to it's origin. So all reports state that function main() uses variables 'c' and 'd'.
But what I like to have is the real used expression in the function source code. So report shoud show that main() uses 'Circumference' and 'Diameter' and not 'c' and 'd'.
Is there any tool out there (for Windows 10 OS) which is able to do this ?
Many thanks for any hint!
'There are 10 types of people in this world, those who understand binary and those who dont.'