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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
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 PCWHD IDE COMPILER