Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



CClasses: typical C class


Description

This shows a typical C class, derived from CBase, and highlights the use of two phase construction and use of the cleanup stack to implement the complete construction of an instance of that class on the heap.

[Top]


Build

The source code for this example application can be found in the directory:

examples\Basics\CClasses

It may be in the directory in which you installed Symbian OS, or it may be in src\common\developerlibrary\. It includes the two project files needed for building: bld.inf and the .mmp file.

The Symbian OS build process describes how to build this application, which results in an executable called:

\epoc32\release\<target>\<urel or udeb>\CCLASSES.EXE.

[Top]


Usage

Run the executable CCLASSES.EXE.

Executables for the emulator targets wins and winscw can be run on your PC. Executables for ARM targets must be copied to your target platform before being run.

[Top]


Classes used