Strings

Strings - Strings Muldner, Chap. 9 9: Preview Functions...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Strings Muldner, Chap. 9
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
9: Preview Functions which process single characters Definitions of Strings and String Constants Formatted and Line Oriented String I/0 C String operations: length, copy, comparisons, search Processing Tokens String-to-number Conversions Standard Error Handling
Background image of page 2
9: Character Processing Functions To classify: int isalnum(int c) is c an alphanumeric int isalpha(int c) is c an alphabetic letter int islower(int c) is c a lower case letter int isupper(int c) is c an upper
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
9: Character Processing Functions To classify (continued): int isprint(int c) is c printable (not a control character) int isgraph(int c) is c printable (not a space) int ispunct(int c) is c printable (not space or alphanumeric) int isspace(int c) is c whitespace
Background image of page 4
9: Strings in C C stores a string in a block of memory. The string is terminated by the \0 character: H e l l o \ 0 s s[1] s[0]
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 11

Strings - Strings Muldner, Chap. 9 9: Preview Functions...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online