Thread: Header Problems!!

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    14

    Header Problems!!

    Well i've somehow gotten myself into deep waters here, the project that i've been working on for the few days now isn't functional!!
    Below in the attachment file is what i have worked on so far, can anyone please lend me a hand here?
    i'm using dev-c++ ,is it a compiler problem or am i not using the header feil correctly?
    and can i put the nodeType struct at the class header file like what i have done??

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > the project that i've been working on for the few days now isn't functional!!
    You mean the project which you've been hacking and haven't compiled for the past few days no longer compiles.

    There's all sorts of missing include files, random syntax errors etc etc which would be dead easy to fix if you actually pressed compile a lot more often than you seem to.

    Put bluntly, if it used to compile, and you add 5 lines and it doesn't compile - guess where the likely problem is.

    Correct!
    In the 5 lines you've just added.

    Then it would be a lot easier to see how to fix the couple of errors which you get, instead of the 250+ which you now have.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 12-14-2005, 02:21 PM
  2. Problems in reading binary file
    By serena in forum C Programming
    Replies: 3
    Last Post: 04-14-2005, 03:54 AM
  3. I keep seeing some advice.. (Header file related)
    By Lithorien in forum C++ Programming
    Replies: 10
    Last Post: 01-14-2005, 04:31 AM
  4. Replies: 6
    Last Post: 04-02-2002, 05:46 AM
  5. header file compile error
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 02-23-2002, 06:28 AM