diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-9A38894D-98B8-5AFA-A36A-AC8B494EC2CC.dita --- a/Symbian3/SDK/Source/GUID-9A38894D-98B8-5AFA-A36A-AC8B494EC2CC.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-9A38894D-98B8-5AFA-A36A-AC8B494EC2CC.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,48 +1,44 @@ - - - - - -libmexample: -Using the Standard C Math LibraryThis example demonstrates the use of math functions, such as gamma(double), -that are part of the Standard C Maths support library (libm.dll). -
Purpose

This -example application shows how to use the libm.dll library. -It:

    -
  1. reads an input value -supplied by the user

  2. -
  3. applies the gamma function -on the input value

  4. -
  5. prints the output.

  6. -
-
Download

Click -on the following link to download the example: libmexample.zip

Click: browse to view the example code.

-
Class summary

The -example shows the use of the following API:

    -
  • gamma(double) from -the Standard C Maths support library (libm.dll).

  • -
-
Building and -configuring

To build the example:

    -
  • You can build the example -from your IDE or the command line.

    If you use an IDE, import the bld.inf file -of the example into your IDE, and use the build command of the IDE.

    If -you use the command line, open a command prompt, and set the current directory -to the source code directory of the example. You can then build the example -with the SBSv1 build tools with the following commands:

    bldmake -bldfiles

    abld build

    How to use bldmake and How to use abld describe -how to use the SBSv1 build tools.

  • -
  • For the emulator, the -example builds an executable called libmexample.exe in -the epoc32\release\winscw\<udeb or urel>\ folder.

  • -
-
Running the -example

Run the libmexample.exe executable. -The example application waits for the user to enter an input value.

+ + + + + +libmexample: Using the Standard C Math LibraryThis example demonstrates the use of math functions, such +as gamma(double), that are part of the Standard C +Maths support library (libm.dll). +
Purpose

This example application shows how to use the libm.dll library. It:

    +
  1. reads an input +value supplied by the user

  2. +
  3. applies the +gamma function on the input value

  4. +
  5. prints the output.

  6. +
+
Download

Click on the following link to download the example: libmexample.zip

Click: browse to view the example code.

+
Class +summary

The example shows the use of the following API:

    +
  • gamma(double) from the Standard C Maths support library (libm.dll).

  • +
+
Building +and configuring

To build the example:

    +
  • You can build +the example from your IDE or the command line.

    If you use +an IDE, import the bld.inf file of the example +into your IDE, and use the build command of the IDE.

    If you +use the command line, open a command prompt, and set the current directory +to the source code directory of the example. You can then build the +example with the SBSv1 build tools with the following commands:

    bldmake bldfiles

    abld +build

    How to use bldmake and How to +use abld describe how to use the SBSv1 build tools.

  • +
  • For the emulator, +the example builds an executable called libmexample.exe in the epoc32\release\winscw\<udeb or urel>\ folder.

  • +
+
Running +the example

Run the libmexample.exe executable. The example application waits for the user to enter +an input value.

\ No newline at end of file