Quote:
|
Originally Posted by Texan
static can also be used outside a function. When used on a global variable, it is then only accessable to the functions in that file. It is impossible for a function out side the file to use it.
|
Actually, that is how normal "global" variables work. they have file scope. To increase the scope you need to use extern (see above).