hi i was wondering how much i should use classes in C++.
Should i use it as much as possible?
mostermand
0
Light Poster
Recommended Answers
Jump to Post>i was wondering how much i should use classes in C++.
As often as you need them, obviously. In my experience, this question is born of ignorance. You don't understand OOP and classes well enough to know when to use them, so you try to turn it into some kind …
Jump to Post>i am sorry
For what?
Jump to PostClasses can be used for many things...
The Programming perspective:
-Restricting access to encapsulated data/ standing in for the same type (Proxy)
-Abstractions for future data (Strategy, Bridge)
-Adding functionality to existing objects with the same interface (Decorator)
-Adapting an object to the interface of another (Adapter)
-Providing …
All 9 Replies
Narue
5,707
Bad Cop
Team Colleague
Alex Edwards
commented:
Although someone harsh, I do agree! =)
+4
mostermand
0
Light Poster
mostermand
0
Light Poster
Narue
5,707
Bad Cop
Team Colleague
mostermand
0
Light Poster
Alex Edwards
321
Posting Shark
Narue
5,707
Bad Cop
Team Colleague
ArkM
1,090
Postaholic
mostermand
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.