Mail Archives: djgpp/1996/06/23/17:55:37
Reply to message 0786469 from JEPIGAR AT PROLO on 06/21/96 10:36PM
>Thank you for your reply. However it didn't answer one thing: what kind of
>functions and classes are included in this library? I have all the
>distributions, and am in the middle of developing a game. However do I
>need it for stuff such as new and delete, general keyword stuff? I just
>had put off downloading C++ stuff until I figured out C. All I find in the
>info pages are stuff like string classes, classes that seem just to be like
>utilities or tools. Please correct me, thank you.
I'm not an expert on C++, so I can't give you all the gory details, but I do
know that libgpp.a is to C++ as libc.a is to C. It defines everything that
you use in your program that is C++ specific, like cin, cout, all the streams
and classes, etc. Essentially, if it's in <iostream.h>, you need libgpp.a.
An alternative, if you are concerned about the GNU General Public
License, is to use only libiostream.a, which defines the basic C++ streams
but not most of the standard classes. I'm not an expert on the differences;
there is a section in the FAQ which deals with this. Note that if you want
to use libiostream _instead_ of libgpp, you can't use 'gxx' to compile.
John
P.S.: I'm forwarding this to the list as well; anybody who knows more feel
free to correct me. :)
- Raw text -