Add additional include directories:
In the main function
App App;
App. GetVal ();//call inside a method, error ~
CodePudding user response:
Such mistakes, you need to put the APP. CPP added to your project, just in the code to use "# include" APP. H "" is not enough
CodePudding user response: