Search:

Type: Posts; User: kmdv

Search: Search took 0.02 seconds.

  1. Change: // friend class WindowMgr; friend...

    Change:

    // friend class WindowMgr;
    friend void WindowMgr::clear(ScreenIndex);
    To:

    friend class WindowMgr;
    // friend void WindowMgr::clear(ScreenIndex);

    The class WindowMgr is not yet...
  2. Incomplete types...

    Incomplete types



    And? Is there any problem in moving its initialisation to .cpp?

    You must either move that initialisation to the .cpp file, or leave the definition of WindowMgr "below the...
  3. You cannot put your WindowMgr "above that class",...

    You cannot put your WindowMgr "above that class", e.g., include its header file before including Screen's header file, because you attempt to use an incomplete type (Screen) when initialising your...
Results 1 to 3 of 3