Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Singleton Class Example

 
Kamal Ahmed
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone post a simple example of a Singleton Class (With Comments please)
woudl be GREAT, if the example is of a File Server ( a Class which Servers File to a Client Socket Application , if not, it's ok too)

Thanks in advance.

-Kamal.
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.mindspring.com/~gholling2/Singleton.pdf
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic