Thread
:
Including files and inclusion guards
View Single Post
Nov 13th, 2005, 11:35 AM
#
6
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power:
10
Declare it external in the header and put the Real Thang in one source file. Why are you doing this? Practice? One rarely needs a global variable, particularly one named, "x".
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei