|
-
April 4th, 2008, 07:35 AM
#1
Singleton Class
Hi,
I heard the term Singleton for the first time yesterday.. and after reading around on the net setup a singleton class for my program.
It might be a stupid question, but i am a little confused.
All the code is in the .h file Dont we need a .ccp file?
It is working right now, but i dont want to put large methods and stuff in teh header file.
Does anyone know any good clear examples of singleton usage?
I looked at:
http://sourcemaking.com/design_patterns/singleton/c++/1
http://bytes.com/forum/thread656124.html
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|