22. How Can I Search for Data?

Step Through Arrays


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 and the next chapter may raise more questions than they answer. If you enjoy searching and sorting, look ...

Get Absolute Beginner’s Guide to C, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.