Mail Archives: djgpp/2000/05/17/08:17:46
On Wed, 17 May 2000 11:25:24 +0400, that hoopy frood "Alexei A.
Frounze" <alex DOT fru AT mtu-net DOT ru> wrote:
>Eli Zaretskii wrote:
>>
>> On Wed, 17 May 2000, Alexei A. Frounze wrote:
>>
>> > IMHO there must no be any C++ library, just a C++ compiler itself, if people
>> > don't have standard for C++ library.
>>
>> I don't think this is possible. All the C++ classes are implemented
>> in a library (libstcxx.a, in the DJGPP case). You *must* have that
>> library, and you *must* include the appropriate headers, if you want
>> to use data types other than the basic ones (int, char, etc.).
>
>I can define my own classes instead. Just a C++ compiler is needed, no C++
>library. Stream I/O could be implemented w/o C++ library, complex stuff,
>strings, etc. can also be done w/o that library. So why should I use C++
>library, if it's not standartized? What are the reasons?
I thought it was. Is it?
>Btw, when C++ was invented? How long we have it w/o of standard?
>
>>
>> It is the same situation as with size_t in C: if you don't have
>> headers which come with a library, you cannot use size_t.
>
>size_t is not a problem. Btw, what so I need size_t for, if both size_t and
>int equal the same machine word?
Who says they do?
--
Chris Mears
ICQ: 36697123
- Raw text -