Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
20% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.40K
~726 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for complete

Where is a good source for learning Design Patterns? Has anyone heard of what is called "Gang of 4" and "Model via Control"?

Member Avatar for Schol-R-LEA
0
144
Member Avatar for madankumar

Hi This is Singleton class program, please let me know any changes required in this code............... #include <iostream> using namespace std; class Singleton { private: static bool instanceFlag; static Singleton *single; Singleton() { //private constructor } public: static Singleton* getInstance(); void method(); ~Singleton() { instanceFlag = false; } }; bool …

Member Avatar for MyNameIsLJ
0
194
Member Avatar for someone030

Hello, I'm implementing a software module and hesitating about the appropriate design. The client needs to perform operations for an componenet which is divided to few parts in the memory. However the client treats the componenet as one contiguous. My design includes a "Manager" which has an interface for the …

Member Avatar for dronkin
0
151
Member Avatar for kevinmscs

I have this class: [code] class Pizza{ protected: string desc; public: Pizza(){ desc = "unknown pizza"; } virtual string getdesc(){ return desc; } virtual double cost(){ return 0; } }; [/code] And one of its subclass: [code] class Small: public Pizza{ public: Small(){ desc = "Small"; } double cost(){ return …

Member Avatar for thekashyap
0
136
Member Avatar for RonnyDeWinter

Design Patterns help people learn object-oriented thinking: leverage polymorphism, design for composition, delegation, balance responsibilities, provide pluggable behavior. They help you where you need more flexibility, to encapsulate an abstraction, to make code less coupled, preserve layers, avoid up calls and circular dependencies. Read more at [url]http://software-quality.blogspot.com/2005/06/how-to-use-design-patterns.html[/url] Enjoy, Ronny De …

0
101