Thursday, July 30, 2009

Duplicated variable rror in C?

Say 'a' is some variable, 'x' and 'y' are some modules.


We are writing a C program and we get the following error:





'a' defined in module 'x' is duplicated in module 'y'





'a' is a global variable that is in a header file which is included in the modules 'x' and 'y'. No other variables in 'x' and 'y' have name 'a'.





We are trying to find out what could have caused this error.All the help is appreciated, thanks in advance.

Duplicated variable rror in C?
change the variable name in one of teh module

edible flowers

No comments:

Post a Comment