Hello,
I have a .h file witch define some char* array (char ** if you prefer) and when I compile, the linker give me an 'already defined error'...
Here is the file structure :
#ifndef file.h
#define file.h
const char* myArray[] = {...
#endif
here is the exact error message : 3papbda
File.obj "cont char * * myArray" (?myArray@@#PAPBDA) already defined in main.obj
thanx for the help!
I have a .h file witch define some char* array (char ** if you prefer) and when I compile, the linker give me an 'already defined error'...
Here is the file structure :
#ifndef file.h
#define file.h
const char* myArray[] = {...
#endif
here is the exact error message : 3papbda
File.obj "cont char * * myArray" (?myArray@@#PAPBDA) already defined in main.obj
thanx for the help!