My tip is that Global variables is your best friend as long you throw to the garbage the approach of making variables names short as possible and you know what you are doing.. Of course, you do not have to accept it. This is what I got after a long experience(small with C++) and deep thought.   My suggested and new coding style is this: Use globals variables as many as you need. It may be that the more global variables, the more It is better (only if you know what you are d