Skip to main content
gamedev.net
๐Ÿ”’ Locked

'extern'

Started by dave Nov 28, 2004 at 6:07 PM 2 replies 400+ views
Original Post
dave
dave
Hi, Just a quick one. I created an object on the heap in file-scope in main.cpp, where winmain() is. So not inside winmain. The object was created in the namespace COM_DAVESDUMP. I want to access this object in other files but it says that: 'ErrorHandler' : undeclared identifier although when i: ErrorHandler->... it the list comes up. How do i use this? I'll post code if requested. ace
Fruny
Fruny
Quote:
Original post by ace_lovegrove
I'll post code if requested.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." โ€” Brian W. Kernighan
Washu
Washu
Quote:
Original post by Fruny
Quote:
Original post by ace_lovegrove
I'll post code if requested.
In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.