Mail Archives: djgpp/2003/02/24/12:25:59
"Kev" wrote:
> I see there have been some changes recently to the
> handling of default
> arguments, i.e. you can only specify what the
> argument's values are
> when prototyping the function and not when defining
> the function. This
> is a bit of a pain, but whatever, I have modified
> all my old code to
> cope with this.
>
> What I want to know is where is this documented ?
> I ask, because I want to know what other changes
> may be documented
> in the same place, because I could do with knowing
> in advance what
> has changed rather that have to spend an age trying
> to figure out
> why my code won't compile anymore.
>
This stuff was all standardized in 1997 and officially
adopted in the official C++ standard in 1998. Your
best reference for this stuff is Stroustrup's The C++
Programming Language - either the 3rd edition (1997)
or the "special" edition (2000) (which is just the
hardcover version of the 1997 3d edition). It's a
valuable reference, and documents all of the language
features.
You could also buy the standard itself, as adopted in
1998. You can purchase it as a pdf file for $18:
http://www.techstreet.com/cgi-bin/detail?product_id=49964
But the standard is rather dry, and not particulary
user-friendly, document. I recommend Stroustrup's
book as the best reference.
Best regards,
Tom
__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
- Raw text -