cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Singleton?
Singleton?
Mar 15, 2009 at 6:37am
Mar 15, 2009 at 6:37am UTC
translore
(31)
I have heard this term used in programming and I would like to know what it is exactly? First of all is it a common concept/term used in C++? Can someone also give me an example of a singleton??
Mar 15, 2009 at 9:08am
Mar 15, 2009 at 9:08am UTC
helios
(17607)
http://en.wikipedia.org/wiki/Singleton_pattern
In a nutshell, it's a design pattern (a concept in software development) for a class that allows only one instance of itself.
Topic archived. No new replies allowed.