I'm currently in the midst of FINALLY getting some formal instruction on Object Oriented Programming.
Okay...so here is what I learned in my C++ class this evening.
Global variables are cheating. They are the public lollipop. Everything can take a lick at it. Keep your variables local.