> The standard library is more C than C++. In C you say
> "strcpy( ToString, FromString)". In C++ you say "ToString =
> FromString" where the "=" operator is overloaded by the
> string class. So you are back to an inefficient function call
> to reach your optimized method.  Result being an inefficient
> ( on a CPW 50 system ) operation.  You are mixing OOP and RPG
> like coding, ending up with code that is not efficient and I
> would argue slightly not OOP.

There is nothing 'special' about the C++ standard library. If you look at
the source of any of them out there you'll see all of the OO-ness of C++ is
implemented in a procedural way - there's no way around it.

C++ (the implementation) in all its glory is messy wrappers around C code.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.