Menu

#20 Add Application object and replace globals

open
nobody
None
5
2008-08-25
2008-08-25
Rowan James
No

Our main() method should be replaced with the construction of a (singleton) Application object, with static accessors.

This application object would have (private) members for all of what we currently have globals for.

Discussion


Log in to post a comment.