hi forum,
i'm new to C and trying to declare some variables to use on global scope a cross .c files. here is a sample of the code:
abc.h:
--------
int rc;
int thinkTime = 5;
string urlName;
char funcLibPath2[] = "C:\\LR_Func";
string testPath3 = "C:\\LR_Func";
-----------
compiler throws all kind of garbage... primerally ' redefinition of <var name> previously defined at <file path>' error messages.
what is wrong with these declarations?