Thread: Error: no member named 'whatever'

  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 08: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.

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, 03: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, 08:18 PM
  3. Replies: 2
    Last Post: 04-22-2008, 12:07 PM
  4. Replies: 2
    Last Post: 04-19-2008, 12:06 AM
  5. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM