Beginner
-
I have created my project in VC++ using MFCAppWizard. Can you help me to understand the Globals folder in ClassView Tab of project. Thank you.
-
I have created my project in VC++ using MFCAppWizard. Can you help me to understand the Globals folder in ClassView Tab of project. Thank you.
I think the VC IDE scans the project files for variables and functions which are defined
globally
, and shows them in the Globals folder. If a variable is defined globally asstatic
, then it will not show in the Globals folder, because that variable will be specific to the source file it is defined in. Is it of no significant importance to you as a beginner, but you know that you can find your globally defined functions and variables there. this is this. -
I think the VC IDE scans the project files for variables and functions which are defined
globally
, and shows them in the Globals folder. If a variable is defined globally asstatic
, then it will not show in the Globals folder, because that variable will be specific to the source file it is defined in. Is it of no significant importance to you as a beginner, but you know that you can find your globally defined functions and variables there. this is this.khan++ wrote:
Is it of no significant importance to you as a beginner...
I know what you are intending to say, but most beginners have a bad habit of using global variables/functions.
"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli