Link to home
Start Free TrialLog in
Avatar of skyrise11
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.
ASKER CERTIFIED SOLUTION
Avatar of nonubik
nonubik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial