INtime SDK Help
itoa, _itow

Converts an integer of the specified base to a null-terminated string of characters and stores it.

#include <stdlib.h>

char *itoa(int value, char *string, int radix);

#include <wchar.h>

wchar_t *_itow(int value, wchar_t *string, int radix);
wchar_t *_witoa(int value, wchar_t *string, int radix);

Parameters

value
Number to convert.
string
String result, up to 17 characters.
radix
Specifies the base of value; must be in the range 2-36.

Remarks

If radix equals 10 and value is negative, the first character of the stored string is the minus sign (-).

If radix is greater than 10, digits in the converted string representing values 10 through 35 are the characters a through z.

_itow is the wide-character version of itoa; _witoa is an alias for _itow.

Return Values

A pointer to the converted string.

Generic Text Routines

tchar.h routine _UNICODE not defined _UNICODE defined
_itot itoa _itow

Requirements

Versions Defined in Include Link to
INtime 3.0
INtime 6.0 (for wide-character and generic text versions)
intime/rt/include/stdlib.h
intime/rt/include/wchar.h
intime/rt/include/tchar.h
stdlib.h
wchar.h
tchar.h
clib.lib
See Also