DM>Now, in practical terms, this means that there are two types of
DM>default constructors: - those with no actual arguments, and -
DM>those with all default arguments.
TH> Incorrect.
TH> There is only one default constructor - no arguments. It doesnt even
You seem to be misinterpreting what I said. We're talking about how it looks
to the new C++ programmer - in particular, how it looks(looked) to Rene.
There are a lot of concepts in following the two "types" that need to be
ironed out. Since most C++ programmers have come from other languages, they
may not be used to the two concepts required here: overloading and default
arguments. The easy default constructor to understand, the one that is coded
such that it cannot take arguments, is best seperated conceptually from the
more difficult one until the student can understand the concepts enough to
unite them again.
JMNSHO.
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)
|