Tuesday, January 10, 2012

C++, runtime check #3, variable being used without initialization?

I am using C++ to write a program and it is telling me that i have used a variable without initializing it first. initializing the variable just means that it is declared and has some sort of value over it. i don't want to put a numerical value because then that value stays say, 0. i have it set to a function, but thats where the problem is.

No comments:

Post a Comment