search    
Hewlett-Packard
HP aC++/HP C Online Programmer's Guide
Welcome to the HP aC++/HP C Online Programmer's Guide. This document is organized into the following sections:
Getting Started
The HP aC++ compiler supports the ISO/IEC 14882 Standard for the C++ Programming Language (the international standard for C++). This section discusses the major components of the compiling system, compiling, executing and debugging a simple program. more»
Command Syntax and Environment Variables
This section introduces you to the the HP aC++ compiler command syntax and environment variables. It gives an overview of the command syntax, examples of the aCC command and files you can use on the aCC command line. This section also discusses Environment Variables and Floating Installation. more»
Command-Line Options
You can specify command-line options to the aCC command. They allow you to override the default actions of the compiler. Each option begins with either a - or a + sign. Any number of options can be interspersed anywhere in the aCC command and they are typically separated by blanks. more»
Pragmas
Use a #pragma directive to control the actions of the compiler in a particular portion of a translation unit without affecting the translation unit as a whole. more»
Preprocessing Directives
Preprocessing directives function as compiler control lines. They allow you to direct the compiler to perform certain actions on the source file. more»
Templates
This section overviews template processing and describes instantiation coding methods available to you. more»
Exception Handling
Exception handling provides a standard mechanism for coding responses to runtime errors or exceptions. Exception handling is on by default. To turn it off, you must use the +noeh option. more»
Using Threads
The HP aC++ run-time environment supports multi-threaded applications. This section discusses HP aC++ libraries that are thread-safe with given limitations. more»
Parallel Processing
OpenMP is an industry-standard parallel programming model that implements a fork-join model of parallel execution. The HP C++ OpenMP pragmas are based on the OpenMP Standard for C/C++, version 2.0. more»
Standardizing Your Code
HP aC++ largely conforms to the ISO/IEC 14882 Standard for the C++ Programming Language. This section discusses how you can standardize your code. more»
Optimizing Your Code
HP aC++ provides options to the aCC command and pragmas to control optimization. This section introduces the basic concepts of optimizing your HP aC++ code for improved efficiency. more»
LEX and YACC
lex and yacc are bundled with the HP aC++ product. This section lists the HP specific features of lex and yacc. more»
Libraries
This section gives an overview of libraries provided with HP aC++ and how you can create and use your own libraries. more»
Mixing HP aC++ with Other Languages
This section provides guidelines for linking HP aC++ modules with modules written in HP C and HP FORTRAN 90 on HP 9000 Series 700/800 systems. more»
Distributing your HP aC++ Products
Distribute your products in such a way that your customer does not need to use the HP aC++ compiler or driver. That is, distribute only executables and shared libraries. Be sure your customer has read this distribution information. more»
Glossary
The glossary contains definitions of terms listed alphabetically. more»

 Rogue Wave Library Manuals
The following library is std namespace enabled and includes the standard iostream library. It is not compatible with the older Rogue Wave libraries listed below.

Rogue Wave Standard C++ Library Version 2.2.1

The following two libraries are not std namespace enabled. They are not compatible with the newer Rogue Wave library listed above.
NOTE: If you are accessing this guide from the World Wide Web URL, http://docs.hp.com, rather than from a system on which HP aC++ is installed, Rogue Wave documentation is not available. The above four links and any other such links within this guide will not succeed.
Product Information

Product Number
B3911DB | B3913DB
Version
A.05.55.02

September 2004
 

Resources

Release Notes

Information Map
more information
about this guide
and about C++

Web Resources
www.hp.com/go/c++/

HP aC++ Transition
Guide
 

Search

You can also search
for information using
keywords. Enter a
keyword in the search
box given at the top
of each page to search.