mikroC - C Compiler for Microchip PIC microcontrollers
atoi
Prototype
int atoi(char *s);
Description
Function converts the input string
string
sign at the beginning. The string will be processed one character at a time, until the
function reaches a character which it doesn't recognize (this includes a null character).
atol
Prototype
long atol(char *s)
Description
Function converts the input string
Input string
and a sign at the beginning. The string will be processed one character at a time, until
the function reaches a character which it doesn't recognize (this includes a null charac-
ter).
div
Prototype
div_t div(int numer, int denom);
Description
Function computes the result of the division of the numerator
denom
remainder (
page
292
should consist exclusively of decimal digits, with an optional whitespace and a
s
should consist exclusively of decimal digits, with an optional whitespace
s
; function returns a structure of type
).
rem
MikroElektronika: Development tools - Books - Compilers
into an integer value, and returns the value. Input
s
into a long integer value, and returns the value.
s
comprising quotient (
div_t
mikroC
making it simple...
by the denominator
numer
) and
quot
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?