Thread
:
OT: Stupid c++ (Roguelike development)
View Single Post
#
53
August 18th, 2006, 06:33 PM
PvK
National Security Advisor
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
Re: OT: Stupid c++
No, every compiler has limited file scope, to keep globals slightly under control. You can get to objects in other files by declaring them "extern", but relying on globalness tends to get ugly.
__________________
OMG updated links!
Price of Power mod for
Dominions 3
Deadly Seas mod for
Dominions 3
Proportions mod for
Space Empires IV Gold
PvK Balance Mod for
Space Empires IV Gold
PvK
View Public Profile
Send a private message to PvK
Visit PvK's homepage!
Find all posts by PvK