CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 4 of 4

Thread: Class heirarchy help (classes using eachother)

Threaded View

  1. #1
    Join Date
    Jan 2009

    [RESOLVED] Class heirarchy help (classes using eachother)


    I have Class A that uses a variable of Class B and Class B uses a variable of Class A

    I'm having issues on how to include them in such a way that I don't get errors. I tried using

    #ifndef class_a
    And I did the same for Class B and tried to include them in each other's file but that didn't solve the problem.

    Does anyone know a fix for this?

    Last edited by Lang; February 2nd, 2009 at 03:32 PM. Reason: Resolved.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)