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

Thread: Global class

  1. #1
    Join Date
    Jul 2010
    Location
    Iran
    Posts
    13

    Question Global class

    Hi,
    How can i defnie a class as global?
    i have a class(A) that i include it's .h file in another class(B). in class B i have a object of class A in a function.
    in another class i want to use this object . So i think that, this object of class a must be global.
    what should i do?
    Last edited by zahraT; July 31st, 2010 at 09:49 AM.

  2. #2
    Join Date
    Aug 2010
    Posts
    51

    Smile Re: Global class

    hi,


    in class B i have a object of class A in a function.
    in another class i want to use this object . So i think that, this object of class a must be global.


    regards,
    phe9oxis,
    http://www.guidebuddha.com

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured