Static Variables and Header files
Oct 15, 2013 at 2:49pm
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.
Oct 15, 2013 at 3:08pm
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.