SW500008 Microchip Technology, SW500008 Datasheet - Page 267

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
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.
253

Related parts for SW500008