Results 1 to 5 of 5

Thread: header already define ?

  1. #1

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    header already define ?

    I have attached my little project. I have a problem with a namespace (util.h). I use macro : #define but it said that I have already defined the file when it's impossible Can someone can take a look on the project and tell me what is wrong please.

    Daok

  2. #2
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    Umm I dont think you attached it
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  3. #3

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    attachement

    Here:

    *sorry
    Attached Files Attached Files

  4. #4
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024
    I have been trying for the last few minutes to fix up your program and I can't get it. I am out of time and need to get out of here. One suggestion would be to stop trying to use the namespace for your util_header and use the functions as they are decalared in there and remove the utility:: part. Also you are using like 3 different #ifndef delcares and you have a few missnamed with the files. Here is what I got:

    #ifndef __InsideLogin_header_h__
    #define __InsideLogin_header_h__

    #ifndef __mainHeader_h__
    #define __mainHeader_h__

    #ifndef __util_h__
    #define __util_h__

    #ifndef __util_header_h__
    #define __util_header_h__
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  5. #5

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362
    I will check that, thx for the time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width