UGN Security
Posted By: Linus Shen A problem about define~~.. - 06/17/06 01:39 PM
who can tell differ from "int" and "extern int"? "the C++ Primer" says ,"extern int" is always written in the header files?..
thanks!!
Posted By: Gremelin Re: A problem about define~~.. - 06/18/06 01:12 AM
I believe that External (or Global) Integers (extern int) are able to be used outside of a function, whereas a standard integer is supposed to be used inside of a function.

(keep in mind, I'm in no way a cpp programmer, i simply know how to google things properly to have a proper outcome)
Posted By: Linus Shen Re: A problem about define~~.. - 06/18/06 11:21 AM
Also I still haven't really got it,but THANKS indeed!
Posted By: nick feng Re: A problem about define~~.. - 06/24/06 08:51 PM
extern int a;
means the 'a' was defined in some other files .
© UGN Security Forum