SW500008 Microchip Technology, SW500008 Datasheet - Page 300

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
TOLOWER, TOUPPER, TOASCII
Synopsis
Description
The toupper() function converts its lower case alphabetic argument to upper case, the tolower()
routine performs the reverse conversion and the toascii() macro returns a result that is guaranteed
in the range 0-0177. The functions toupper() and tolower() return their arguments if it is not an
alphabetic character.
Example
See Also
islower(), isupper(), isascii(), et. al.
286
#include <ctype.h>
char toupper (int c)
char tolower (int c)
char toascii (int c)
#include <stdio.h>
#include <ctype.h>
#include <string.h>
void
main (void)
{
}
char * array1 = "aBcDE";
int i;
for(i=0;i < strlen(array1); ++i) {
}
printf("\n");
printf("%c", tolower(array1[i]));
Library Functions

Related parts for SW500008