Chapter 6. Programming hints and tips

In developing your application with C or C++, you may encounter problems while compiling, linking, or executing for the first time.

This chapter starts off by offering some general programming tips that would make an application perform better on AIX:

  • Section 6.1, “Programming recommendations” on page 220

The next sections continue to describe some of the more common errors that you may encounter during the different phases of the development cycle:

  • Section 6.2, “Diagnosing compile-time errors” on page 227

  • Section 6.3, “Diagnosing link-time errors” on page 239

  • Section 6.4, “Diagnosing run-time errors” on page 244

All the options and #pragma directives referred to in this chapter are explained in more details in the C for AIX Compiler Reference, SC09-4960 and VisualAge C++ for AIX Compiler Reference, SC09-4959.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset