skyrise11
asked on
symbol not found
Hi,
I'm writing a program using visual studios.net and I have the main method like this
int main (int argc, char **argv)
{
int a = 0;
static int display = FALSE;
....
}
----------------------
When I'm debugging, after reaching a break point after the above lines inside the main method I have
display 0 int
a CXX0017: Error: symbol "a" not found
how can I make this work without declaring every variable as static and why is this happening.
I'm writing a program using visual studios.net and I have the main method like this
int main (int argc, char **argv)
{
int a = 0;
static int display = FALSE;
....
}
----------------------
When I'm debugging, after reaching a break point after the above lines inside the main method I have
display 0 int
a CXX0017: Error: symbol "a" not found
how can I make this work without declaring every variable as static and why is this happening.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.