C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

Contents
About This Document...................................................................................16
Supported Release Version Updates (RVUs)................................................................................17
Intended Audience..................................................................................................................17
New and Changed Information................................................................................................17
Changes for August 2012 (429301-017)................................................................................17
Changes for February 2012 (429301-016).............................................................................17
Changes for August 2010 (429301-015)................................................................................18
Changes for November 2008 (429301-014)..........................................................................18
Changes for August 2008 (429301-013)...............................................................................18
Changes for February 2007 (429301-012) ............................................................................19
Documentation Set Organization..............................................................................................20
Document Organization..........................................................................................................21
Notation Conventions..............................................................................................................23
General Syntax Notation....................................................................................................23
Notation for Messages.......................................................................................................25
Related Information.................................................................................................................26
Publishing History...................................................................................................................28
HP Encourages Your Comments................................................................................................29
1 Introduction to HP C and C++ for NonStop Systems......................................30
TNS C Language System.........................................................................................................30
C Preprocessor..................................................................................................................30
C Compiler.......................................................................................................................30
C Run-Time Library.............................................................................................................30
Binder..............................................................................................................................30
Accelerator.......................................................................................................................30
Object Code Accelerator (OCA)..........................................................................................30
Inspect Symbolic Debugger.................................................................................................31
Visual Inspect Symbolic Debugger........................................................................................31
NonStop SQL/MP Compiler................................................................................................31
TNS C++ Language System.....................................................................................................31
Exception Handling Is Not Supported...................................................................................32
Compilation Steps for C++ Code.........................................................................................32
TNS/R Native C and C++ Language System..............................................................................32
TNS/R Native C Compiler..................................................................................................32
TNS/R Native C++ Compiler..............................................................................................33
TNS/R Native C Run-Time Library........................................................................................34
C++ Run-Time Library and Standard C++ Library...................................................................34
TNS/R Native Linkers (nld and ld Utilities).............................................................................35
Inspect Symbolic Debugger.................................................................................................35
Visual Inspect Symbolic Debugger........................................................................................35
TNS/R Native Object File Tool (noft Utility)...........................................................................36
NonStop SQL/MP Compiler and NonStop SQL/MX Compiler.................................................36
TNS/R Native C and C++ Migration Tool.............................................................................36
Features of TNS/R Native C and C++..................................................................................37
TNS/E Native C and C++ Language System..............................................................................38
TNS/E Native C Compiler..................................................................................................39
TNS/E Native C++ Compiler..............................................................................................39
TNS/E Native C Run-Time Library........................................................................................40
C++ Run-Time Library and Standard C++ Library...................................................................40
TNS/E Native Linker (eld Utility)..........................................................................................41
Native Inspect Symbolic Debugger.......................................................................................41
Contents 3