PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 176

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
atoi( ) atol( ) atoi32( ) atoi48( ) atoi64( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
162
ivalue = atoi(string)
lvalue = atol(string)
i32value = atoi32(string)
or
i48value=atoi48(string)
or
i64value=atoi64(string)
string is a pointer to a null terminated string of characters.
ivalue is an 8 bit int.
lvalue is a 16 bit int.
i32value is a 32 bit int.
48value is a 48 bit int.
i64value is a 64 bit int.
Converts the string passed to the function into an int representation. Accepts both
decimal and hexadecimal argument. If the result cannot be represented, the
behavior is undefined.
All devices
#INCLUDE <stdlib.h>
char string[10];
int x;
strcpy(string,"123");
x = atoi(string);
// x is now 123
input.c
printf()
or
or

Related parts for PCDIDE COMPILER