Mail Archives: djgpp/2000/05/17/04:47:34
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
- Raw text -