22. Searching Arrays

In This Chapter

Filling arrays

Searching parallel arrays for specific values

You bought this book to learn C as painlessly as possible—and that’s what has been happening. (You knew that something was happening, right?) Nevertheless, you won’t become an ace programmer if you aren’t exposed a bit to searching and sorting values. Complete books have been written on searching and sorting techniques, and the next two chapters present only the simplest techniques. Be forewarned, however, that before you’re done, this chapter and the next one might raise more questions than they answer.

You’ll find that this and the next chapter are a little different from a lot of the others. Instead of teaching you new C features, these ...

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.