Error: no member named 'whatever'

This is a discussion on Error: no member named 'whatever' within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by tabstop Any function you intend to call cannot be private. Okay...the thing is, the header doesn't use ...

  1. #31
    Registered User
    Join Date
    Sep 2009
    Posts
    78
    Quote Originally Posted by tabstop View Post
    Any function you intend to call cannot be private.
    Okay...the thing is, the header doesn't use to the private modifier.

    Here is the header:

    Code:
    static StaffMember * parseStringToMember(string lineToParse)
    Do I just need to change it?
    Last edited by vileoxidation; 10-09-2009 at 09:12 PM.

  2. #32
    Registered User
    Join Date
    Sep 2009
    Posts
    78
    Nevermind. I added private before the header and of course it worked.

    Thank you for all of the help, tabstop!! I so appreciate it.

Page 3 of 3 FirstFirst 123
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem defining structure
    By MTK in forum C Programming
    Replies: 12
    Last Post: 09-08-2009, 04:26 PM
  2. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 09:18 PM
  3. Replies: 2
    Last Post: 04-22-2008, 01:07 PM
  4. Replies: 2
    Last Post: 04-19-2008, 01:06 AM
  5. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21