Home Segments Index Top Previous Next

654: Sidetrip

Note that the symbol static is used in connection with both member variables and, as described in the hardcopy version of this book, with global variables.

The meaning is different, however. Used in connection with a member variable, static means “there is just one of these member variables for the whole class,” whereas used in connection with a global variable, static means “this variable is available in only those functions defined in this file.”