Static Variables and Header files
I read in another forum that it is bad practice to declare static variables in a header file? Is that true and if so why.
I think I just figured it out. If you declare a static variable in a header file, it can only be used in that header file. Is this correct?
Topic archived. No new replies allowed.