Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

symbol not found


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.
1 Solution
Are you debugging a release project configuration?

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now