CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2010
    Posts
    907

    [del]................

    [del]..................
    Last edited by lucky6969b; May 1st, 2014 at 11:34 PM.

  2. #2
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,765

    Re: I can't access the 'go' method in the BaseApplicaiton class where it is 'public'?

    You wrote:
    Code:
    class myDX9Widget : public BaseWidget, BaseApplication {
    but you probably wanted to write:
    Code:
    class myDX9Widget : public BaseWidget, public BaseApplication {
    Also, the admonition to avoid using directives at file scope in headers also applies for namespaces other than the std namespace.
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

  3. #3
    Join Date
    Dec 2010
    Posts
    907

    Re: [del]................

    Yes, thanks, I see that too, sorry, I have already deleted my post. my bad

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: [del]................

    Quote Originally Posted by lucky6969b View Post
    Yes, thanks, I see that too, sorry, I have already deleted my post. my bad
    It was very very bad idea!

    Note that are not alone reading and posting to this Forum.
    All people reading this Forum have to have possibilities to learn from others' mistakes.
    Victor Nijegorodov

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