[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_itoa

This function converts an int value to a null terminated char array.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
char * _itoa(int val, char *str, int radix);
Parameters:

Parameters for this function are:

val  
int  
The integer value to convert  
str  
char *  
The string to store the converted value  
radix  
int  
The numeric base of the number to be converted  

Remarks:

The radix is the base of the number in a range of 2 to 36.

Return:

A pointer to the converted string is returned.

See Also:

"atoi"

"_ltoa"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000