SW006014 Microchip Technology, SW006014 Datasheet - Page 21

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

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
© 2008 Microchip Technology Inc.
isgraph (Continued)
islower
Description:
Include:
Prototype:
Argument:
Return Value:
Remarks:
Example:
}
Output:
3 is a graphical character
# is a graphical character
a space is NOT a graphical character
Test for a lower case alphabetic character.
<ctype.h>
int islower (int c);
c
Returns a non-zero integer value if the character is a lower case alpha-
betic character; otherwise, returns zero.
A character is considered to be a lower case alphabetic character if it is
in the range of ‘a’-‘z’.
#include <ctype.h> /* for islower */
#include <stdio.h> /* for printf */
int main(void)
{
}
ch = '3';
if (isgraph(ch))
else
ch = '#';
if (isgraph(ch))
else
ch = ' ';
if (isgraph(ch))
else
int ch;
ch = 'B';
if (islower(ch))
else
ch = 'b';
if (islower(ch))
else
printf("a space is NOT a graphical character\n");
printf("3 is a graphical character\n");
printf("3 is NOT a graphical character\n");
printf("# is a graphical character\n");
printf("# is NOT a graphical character\n");
printf("a space is a graphical character\n");
printf("B is lower case\n");
printf("B is NOT lower case\n");
printf("b is lower case\n");
printf("b is NOT lower case\n");
character to test
DS51456E-page 17

Related parts for SW006014