Howdy,everyone.
my book told me that all functions are extern by default. and what about variables and consts ?
Regards~
Howdy,everyone.
my book told me that all functions are extern by default. and what about variables and consts ?
Regards~
Never end on learning~
Functions declared outside a class are global by default, which means that functions in other files can use that function. Declared variables and consts outside classes and functions are also global by default. Which means that functions in other files can use them.
I got it. thanx,Shiro~Originally posted by Shiro
Functions declared outside a class are global by default, which means that functions in other files can use that function. Declared variables and consts outside classes and functions are also global by default. Which means that functions in other files can use them.
Never end on learning~