19. Getting More from Your Strings
In This Chapter
• Employing character-testing functions
• Checking whether the case is correct
• Adding case-changing functions
• Using string functions
This chapter shows you ways to take work off your shoulders and put it on C’s. C includes many helpful built-in functions in addition to ones such as strlen()
, getchar()
, and printf()
that you’ve read about so far.
Many more built-in functions exist than there is room for in a single chapter. This chapter explains the most common and helpful character and string functions. In the next chapter, you’ll learn about some numeric functions.
Character-Testing Functions
C has several built-in character-testing functions. Now that you know how to use getchar()
and ...
Get C Programming Absolute Beginner’s Guide, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.