Home > Software engineering >  Already in the header file declares the variables, but also include the header file, still an error
Already in the header file declares the variables, but also include the header file, still an error

Time:09-17

I am in the main dialog head file that the object of the child dialogs

In my child dialogs CPP document stating the main header file dialog box, and then in a child dialogs CPP file call this object, prompt the undefined identifiers

Bosses: can you help me, please

CodePudding user response:

You this is two class definition file, in the main dialog in # include file to open the dialog class header file, then define a dialog object

CodePudding user response:

To have an understanding of object-oriented programming ideas, this should be first to obtain the main dialog again on the object operation, the definition of the object belongs to the main dialog,
  • Related