Thread: Declaration Error

  1. #1
    Registered User
    Join Date
    Jul 2019
    Posts
    2

    Declaration Error

    Hi, I'm new to this forum.

    Can anyone help me in the following declaration (check image).
    The destructor of my class shows as declared previously, while the constructor which is declared next to it works just fine.
    Thanks !

    Declaration Error-screenshot-jpg

  2. #2
    Registered User
    Join Date
    May 2019
    Posts
    181
    No idea.

    Post the code using code tags, not a screenshot. We have to see what the compiler sees, not your desktop.

  3. #3
    Registered User
    Join Date
    Jul 2019
    Posts
    2
    I moved some things around and it worked correctly. If I get the error again, I'll post the code. Thanks !

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. forward declaration error
    By beebee in forum C Programming
    Replies: 7
    Last Post: 11-25-2012, 05:35 PM
  2. Need some help to fix a declaration syntax error
    By Rob31645 in forum C Programming
    Replies: 6
    Last Post: 02-06-2012, 03:40 AM
  3. help me ! some declaration error
    By noobnewrecruit in forum C++ Programming
    Replies: 4
    Last Post: 11-14-2010, 05:19 AM
  4. forward declaration error?
    By sugarfree in forum C++ Programming
    Replies: 3
    Last Post: 04-25-2010, 12:11 AM
  5. Error in function declaration
    By nick048 in forum C Programming
    Replies: 5
    Last Post: 04-11-2007, 04:22 PM

Tags for this Thread