-
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
-
Umm I dont think you attached it ;)
-
1 Attachment(s)
attachement
-
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__
-
I will check that, thx for the time.