SW500008 Microchip Technology, SW500008 Datasheet - Page 250

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
omitted it defaults to 6. If the precision is zero, the decimal point will be omitted unless the alternate
format is specified.
Example
236
printf("Total = %4d%", 23)
printf("Size is %lx" , size)
printf("Name = %.8s", "a1234567890")
printf("xx%*d", 3, 4)
/* vprintf example */
#include <stdio.h>
int
error (char * s, ...)
{
}
void
main (void)
{
va_list ap;
va_start(ap, s);
printf("Error: ");
vprintf(s, ap);
putchar(’\n’);
va_end(ap);
int i;
yields ’Total =
where size is a long, prints size
as hexadecimal.
yields ’Name = a1234567’
yields ’xx 4’
23%’
Library Functions

Related parts for SW500008