home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00197_d8.pcx.png < prev    next >
Portable Network Graphic  |  1995-04-05  |  7.5 KB  |  466x151  |  4-bit (6 colors)
   ocr: If"c"has the value 'A', then C-'A' has the value 0. Thus the artay element "letter0)" gets incremented when "c" has the value A.In this way a count of the uppercase letters is kept in the elements of the array "letter" with "letter(0]" corresponding to the letter A, "letter1l" corresponding to the letter B, and SO forth.