Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP C++ Programmer's Guide: HP 9000 Series Workstations and Servers

Chapter 3 Compiling and Executing HP C++ Programs

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

This chapter describes how to compile and execute HP C++ programs on the HP-UX operating system. It presents the CC command and its options, which allow you to access the compiling system. You can compile HP C++ programs into C, assembly, object, or executable files. Optionally, you can optimize the code.

The chapter is organized into the following topics:

  • phases of the compiling system

  • compiling with CC

  • system library and header files

  • creating and using shared libraries

  • a complete example C++ program

  • executing HP C++ programs

The chapter concludes with a programming example illustrating the concept of object-oriented program development.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.