United States    
COMPAQ STORE | PRODUCTS | SERVICES | SUPPORT
| CONTACT US | SEARCH
C++
Compaq C++

Compaq C++
Using Compaq C++ for Tru64 UNIX and Linux Alpha


Begin Index

Contents (summary)
Preface Preface
Chapter 1 Building and Running C++ Programs
Chapter 2 Compaq C++ Implementation
Chapter 3 Compaq C++ Language Environment
Chapter 4 Porting to Compaq C++
Chapter 5 Using Templates
Chapter 6 Precompiled Headers
Chapter 7 The C++ Standard Library
Chapter 8 Handling Exceptions
Chapter 9 Using the Ladebug Debugger
Appendix A Class Library Restrictions
Appendix B Built-In Functions
Appendix C Third Degree Messages
  Index
  Figures
  Examples
  Tables


Contents


Preface
Preface Preface
Chapter 1
1 Building and Running C++ Programs
     1.1     Compiling a Program
     1.2     Linking a Program
     1.3     Name Demangling
     1.4     C++ Standard Library
     1.5     C++ Class Library
     1.6     Debugging
     1.7     Improving Build Performance
         1.7.1         Object File Compression [Tru64]
         1.7.2         Using Shared Libraries
         1.7.3         Using Precompiled Headers
         1.7.4         Performance Optimization Options
     1.8     Deploying Your Application [Tru64]
         1.8.1         Redistributing the C++ Run-Time Library
         1.8.2         Instructions for Installing Redistribution Kit
     1.9     Using OpenMP
Chapter 2
2 Compaq C++ Implementation
     2.1     Implementation-Specific Attributes
         2.1.1         #pragma Preprocessor Directive
             2.1.1.1             #pragma define_template Directive
             2.1.1.2             #pragma instantiate Directive
             2.1.1.3             #pragma environment Directive
             2.1.1.4             #pragma extern_prefix Directive
             2.1.1.5             #pragma ident Directive
             2.1.1.6             #pragma [no]inline Directive
             2.1.1.7             #pragma intrinsic Directive
             2.1.1.8             #pragma [no]member_alignment Directive
             2.1.1.9             #pragma message Directive
             2.1.1.10             #pragma module Directive
             2.1.1.11             #pragma once Directive
             2.1.1.12             #pragma pack Directive
             2.1.1.13             #pragma pointer_size Directive [Tru64]
             2.1.1.14             #pragma required_pointer_size Directive [Tru64]
             2.1.1.15             #pragma required_vptr_size Directive [Tru64]
             2.1.1.16             #pragma [no]standard Directive
         2.1.2         Protecting System Header Files
             2.1.2.1             Using the Compiler's Header File Protection Option
             2.1.2.2             Modifying Each Header File
         2.1.3         Predefined Macro Names
         2.1.4         Translation Limits
         2.1.5         Numerical Limits
         2.1.6         Argument-Passing and Return Mechanisms
     2.2     Implementation Extensions and Features
         2.2.1         Identifiers
             2.2.1.1             Character Limit for Long Names
         2.2.2         Order of Static Object Initialization
         2.2.3         Integral Conversions
         2.2.4         Floating-Point Conversions
         2.2.5         Explicit Type Conversion
         2.2.6         The sizeof Operator
         2.2.7         Explicit Type Conversion
         2.2.8         Multiplicative Operators
         2.2.9         Additive Operators
         2.2.10         Shift Operators
         2.2.11         Equality Operators
         2.2.12         volatile Type Specifier
         2.2.13         __unaligned Type Specifier
         2.2.14         Linkage Specifications
         2.2.15         Temporary Objects
             2.2.15.1             Nonconstant Reference Initialization with a Temporary Object
         2.2.16         Exception Handling
         2.2.17         File Inclusion
         2.2.18         Inheritance and Header Files
         2.2.19         Nested Enums and Overloading
         2.2.20         Guiding Declarations
     2.3     Run-time Type Identification
     2.4     Implementation of Polymorphism During Object Construction
     2.5     Message Control Options
     2.6     Message Information Options
Chapter 3
3 Compaq C++ Language Environment
     3.1     Using Existing C Header Files
         3.1.1         Providing C and C++ Linkage
         3.1.2         Resolving C++ Keyword Conflicts
     3.2     Using Compaq C++ with Other Languages
     3.3     Linkage to Non-C++ Code and Data
     3.4     How to Organize Your C++ Code
         3.4.1         Code That Does Not Use Templates
         3.4.2         Code That Uses Templates
         3.4.3         Creating Libraries
     3.5     Using 32-bit Pointers (xtaso)
     3.6     Hints for Designing Upwardly Compatible C++ Classes
         3.6.1         Source Compatibility
         3.6.2         Link Compatibility
         3.6.3         Run Compatibility
         3.6.4         Additional Reading
Chapter 4
4 Porting to Compaq C++
     4.1     Compatibility with Other C++ Compilers
     4.2     Compatibility With Version 5.n Compilers [Tru64]
         4.2.1         Compiler Version Options [Tru64]
         4.2.2         Language Differences [Tru64]
         4.2.3         Implementation Differences [Tru64]
         4.2.4         Library Differences [Tru64]
     4.3     Using Classes
         4.3.1         Friend Declarations
         4.3.2         Member Access
         4.3.3         Base Class Initializers
     4.4     Undefined Global Symbols for Static Data Members
     4.5     Functions and Function Declaration Considerations
     4.6     Using Pointers
         4.6.1         Pointer Conversions
         4.6.2         Bound Pointers
         4.6.3         Constants in Function Returns
         4.6.4         Pointers to Constants
     4.7     Using typedefs
     4.8     Initializing References
     4.9     Using the switch and goto Statements
     4.10     Using Volatile Objects
     4.11     Preprocessing
     4.12     Managing Memory
     4.13     Size-of-Array Argument to delete Operator
     4.14     Flushing the Output Buffer
     4.15     Missing Parenthesis Error Message
     4.16     Link Using cxx
     4.17     Source File Extensions
     4.18     Incrementing Enumerations
     4.19     Scope of Variables Declared on a for Statement
     4.20     Guidelines for Writing Clean 64-Bit Code


Previous Next Contents Index
  

1.800.AT.COMPAQ

privacy and legal statement