|
I'm not much of a C++ guy but I believe what you've got there is merely a local variable and i think what you are looking for is a global variable.
since they are seperate functions they will not carry over to each other unless you pass them by value, pass them by reference, or make them global.
__________________
I have never let my schooling interfere with my education. -Mark Twain-
Xbox live gamertag: melbolt
|