HP aC++/HP C A.06.20 Programmer's Guide
NOTE: When using lex and yacc:
• Programs generated by yacc or lex can have many unreachable break statements,
causing multiple aC++ warnings.
• If you want to call the yacc generated routines, yyerror, yylex and yyparse,
your program must include the yacc.h header file:
#include<yacc.h>
For more information on these tools, refer to the lex and yacc man pages or the HP-UX
Reference Manual. Another general source of information is lex and yacc by John R.
Levine, Tony Mason, and Doug Brown.
Creating and Using Libraries
This section gives an overview of libraries provided with HP aC++. It also discusses
how you can create and use your own libraries.
This section discusses the following topics:
• HP aC++ Libraries
• Creating and Using Shared Libraries
• Advanced Shared Library Features
• Standard HP-UX Libraries and Header Files
• Allocation Policies for Containers
For more information, see HP-UX Online Linker and Libraries User’s Guide.
HP aC++ Libraries
In addition to standard HP-UX system libraries, HP aC++ provides the following C++
libraries:
• Standards Based Libraries
— Standard C++ Library
— Tools.h++ Library
— HP aC++ Runtime Support Library
• HP C++ (cfront) Compatibility Library
— IOStream Library
Standard C++ Library
The International Standards Organization (ISO) and the American National Standards
Institute (ANSI) have standardized the C++ programming language. A result of this
standardization process is the Standard C++ Library, a large and comprehensive
collection of classes and functions.
228 Tools and Libraries