I\'ve run into an interesting problem in an AI project of mine. I\'m trying to format some debug text and something strange is happening. Here\'s a block of code:
You could change the static variable to a #define, and set a member variable in a singleton equal to it. Modifications and accesses would apply to the singleton's member variable.