Subj : Re: A real beginer's C++ question To : borland.public.cpp.borlandcpp From : "Boba" Date : Mon Jul 07 2003 06:50 pm "Ed Mulroy [TeamB]" wrote in message news:3f04b7b2$1@newsgroups.borland.com... > It means that a symbol was used but it was never declared. > > For instance, in this program: > > -------------------- > #include > int main() > { > printf("The value is %d\n", x); > return 0; > } > -------------------- > > The symbol 'x' is not declared. nor defined. > In the program below 'x' is no longer undefined. ??? > -------------------- > #include > int main() > { > int x = 3; > > printf("The value is %d\n", x); > return 0; > } > -------------------- > > . Ed in the code above 'x' is declared. But in the following #include #define x 123 int main() { printf("The value is %d\n", x); return 0; } 'x' is defined. BOBA .