UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
September
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Sponsored Links
Latest Postings
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#17292 - 06/17/06 06:39 AM A problem about define~~..
Linus Shen Offline
Junior Member

Registered: 06/15/06
Posts: 7
Loc: China
who can tell differ from "int" and "extern int"? "the C++ Primer" says ,"extern int" is always written in the header files?..
thanks!!
_________________________
I just love it! KKK...

Top
Sponsored Links
      
#17293 - 06/17/06 06:12 PM Re: A problem about define~~..
Gremelin Offline

Community Owner
*****

Registered: 02/28/02
Posts: 7192
Loc: Portland, OR; USA
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)
_________________________
Donate to UGN Security here.
UGN Security, Back of the Web, Elite Web Gamers & VNC Web Design Owner

Top
#17294 - 06/18/06 04:21 AM Re: A problem about define~~..
Linus Shen Offline
Junior Member

Registered: 06/15/06
Posts: 7
Loc: China
Also I still haven't really got it,but THANKS indeed!
_________________________
I just love it! KKK...

Top
#17295 - 06/24/06 01:51 PM Re: A problem about define~~..
nick feng Offline
Junior Member

Registered: 06/24/06
Posts: 1
Loc: china
extern int a;
means the 'a' was defined in some other files .

Top

Featured Member
Registered: 08/22/14
Posts: 1
Forum Stats
2148 Members
46 Forums
34045 Topics
69212 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27207
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 101 Guests and 149 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!