You might be able to improve run-time performance of a C++ program by using
static class members to pass an argument to a function.
In a C or C++ program, an alternative to passing an argument to a function is to have the variable defined as being global and to have the function use the global variable.
For information about class member functions and global variables, see:
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.