On Aug 18, 8:05 pm, "Alf P. Steinbach" <al...@start.no> wrote:
* Immortal Nephi:
Class A is getting too large over 200,000 lines.
http://en.wikipedia.org/wiki/God_object
Your request is about a technical way to allow even more spaghetti.
Perhaps you can understand why that is not a good idea?
Cheers, & hth.,
- Alf
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
You may have heard diamond inheritance. It is an example of ios,
istream, ostream, and iostream. You need to think how to use triangle
inheritance. Only iostream is able to communicate to istream directly
and ostream directly. Unfortunately, istream has no way to
communication to ostream directly and ostream has no way to
communication to istream.
It is the only way that istream can access data inside iostream
class. In turn, ostream can access data inside iostream class AFTER
data is already MODIFIED by istream.
I wish that C++ Compiler should be able to implement triangle
inheritance. Please advise.
Please don't quote signatures.
Regarding the technical you're seriously confused.
same anyway, namely *actively* studying from a good C++ textbook (actively means
doing examples and so on).
Cheers, & hth.
A: Because it messes up the order in which people normally read text.
A: Top-posting.