Improve Performance with Native C/C++

  • Khang Vo


In this chapter, you will learn about:
  • The benefits and costs to integrating C/C++ code into your iPhone application.

  • Basic concepts in C programming
    • Data types

    • Pointer

    • Memory management

  • Basic concepts in C++ programming
    • Class

    • Memory management

    • Inheritance

    • Template

  • ■ How to work through a real example with SQLite, a database that has a C API.

  • How to integrate C++ and Objective-C++ into your iPhone application. In this chapter, you will learn about low-level programming with C/C++, which is important for high performance applications. It’s true that Objective-C is a superset of C and also a native programming language, but Objective-C adds a wrapper over the C language that reduces performance. If you have ever worked with games and animations, you know that using OpenGL with C/C++ provides much better performance.


Memory Management Memory Address Struct Node Multiple Inheritance Memory Leak 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Khang Vo 2011

Authors and Affiliations

  • Khang Vo

There are no affiliations available

Personalised recommendations