SW500009 Microchip Technology, SW500009 Datasheet - Page 249

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Library Functions
argument must be a pointer to char. The field width will limit the number of characters copied. The
resultant string will be null terminated.
Copy the next character from the input. The pointer argument is assumed to be a pointer to char. If a
field width is specified, then copy that many characters. This differs from the s format in that white
space does not terminate the character sequence.
sponding pointer argument is a pointer to long or double as appropriate. A preceding h will indicate
that the pointer argument is a pointer to short rather than int.
Example
See Also
fscanf(), sscanf(), printf(), va_arg()
Return Value
The scanf() function returns the number of successful conversions; EOF is returned if end-of-file
was seen before any conversions were performed.
c
The conversion characters o, x, u, d and f may be preceded by an l to indicate that the corre-
scanf("%d %s", &a, &c)
scanf("%3cd %lf", &c, &f)
with input " 12s"
will assign 12 to a, and "s" to s.
with input " abcd -3.5"
will assign " abc" to c, and -3.5 to f.
235

Related parts for SW500009