Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
spit on the principles of single responsibility and dependency inversion, slap singleton and voila! Oh yeah, and don't forget about one base class ala CObject or CComponent for everything in general that is in the framework (well, or in most of its parts).
But seriously, why? For learning purposes? If so, then maybe it makes sense to immediately read the literature on this topic? You will discover the most immediately.
If you ask such questions, you can not even try, nothing good will come of it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question