We know you're not as skilled as some of the members on the board, but passing and getting variables should be a well developed skill by the time you build classes and ADT's. Anywho, you can make the same variable inside each class as a private member, and have functions that return the value when ever you need it. That would, in a sense, be making the variable (more over the value) global.