Message-ID: <39224964.BBFA67CB@mtu-net.ru> Date: Wed, 17 May 2000 11:25:24 +0400 From: "Alexei A. Frounze" X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: Re: C++, complex, etc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Recipient: eliz AT is DOT elta DOT co DOT il Reply-To: djgpp AT delorie DOT com 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? 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? bye. Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru