SW006014 Microchip Technology, SW006014 Datasheet - Page 79
SW006014
Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet
1.SW006014.pdf
(246 pages)
Specifications of SW006014
Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
- Current page: 79 of 246
- Download datasheet (3Mb)
© 2008 Microchip Technology Inc.
printf (Continued)
putc
Description:
Include:
Prototype:
Arguments:
Return Value:
Remarks:
Example:
}
Output:
-4
0012
0x1c
1.100000E+20
-3.35
0.02
Puts a character to the stream.
<stdio.h>
int putc(int c, FILE *stream);
c
stream
Returns the character or EOF if an error occurs or end-of-file is
reached.
putc is the same as the function fputc.
#include <stdio.h> /* for putc, EOF, stdout */
int main(void)
{
for (y = buf; (x != EOF) && (*y != '\0'); y++)
}
Output:
T|h|i|s| |i|s| |t|e|x|t|
|
/* print a number converted to hexadecimal
/* format with a 0x prefix.
printf("%#x\n", 28);
/* print a float in scientific notation
printf("%E\n", 1.1e20);
/* print a float with 2 fraction digits
printf("%.2f\n", -3.346);
/* print a long float with %E, %e, or %f
/* whichever is the shortest version
printf("%Lg\n", .02L);
a
char *y;
char buf[] = "This is text\n";
int x;
x = 0;
{
}
|
x = putc(*y, stdout);
putc('|', stdout);
4
character to be written
pointer to FILE structure
DS51456E-page 75
*/
*/
*/
*/
*/
*/
Related parts for SW006014
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: