Hi
I have functions within a .ccp file named "menus.cpp", which access an array, which is defined at the top of this .cpp file.
All the functions work fine at the moment, but I need to split this big "menus.cpp" file up into smaller classes.
If I move the array to the top of the "main.cpp" file where I will call the functions from the "menus.cpp" file - how do I allow different classes to access the array in the "main.cpp" file...?
Cheers
PK



LinkBack URL
About LinkBacks




