Is it possible to create a variable that is shared between various files? I tried making a static variable in a header class, but it seems like a different copy is made for each file. Anybody know a way around this? This is for VC++.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more