Thread: header file

  1. #1
    Registered User
    Join Date
    Oct 2001

    header file

    I have a header file which contains the following

    #define IDR_MYMENU 101
    #define IDI_MYICON 201

    #define ID_FILE_EXIT 9001
    #define ID_STUFF_GO 9002

    However when i compile the program I get the error :
    unexpected end of file found.

    I have saved the header file into the header files folder,
    do I need to place it somewhere else as well?

    I am using M$ VC++ 6
    any suggestions would be welcome

  2. #2
    Programming is fun, mkay?
    Join Date
    Oct 2001

    Question Have you../

    Have u tried to include your header file in your main file?


    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  3. #3
    Normally when I get an error like this, it means Iíve forgot a chicken lip, I mean this character: }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  2. Replies: 30
    Last Post: 06-19-2006, 12:35 AM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM