Conferences O’Reilly brings diverse innovators together to nurture the ideas that spark revolutionary industries.We specialize in document- ing the latest tools and systems, translating the innovator’s knowledge into useful skills for those in the trenches. I O’REILLY NETWORK Safari Bookshelf Safari Bookshelf ( safari.) is the premier online refer- ence library for programmers and IT professionals. Subscribers can zero in on answers to time-critical questions in a matter of seconds. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, and Jejf Cogswell O REILLY Beijing • Cambridge • Farnham • Koln • Paris • Sebastopol • Taipei • Tokyo C Cookbook" by D. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.Many solutions take advantage of the C standard library. Use the solutions in this book for mundane problems so you can spend your time on more interesting work.The authors also cover the Boost libraries, which represent some of the very best thinking in the world of C . .95 CAN .95 ISBN-10: 0-596-00761-2 ISBN-13: 978-0-596-00761-4 Safari BOOKS ONLINE 9 ENABLED Includes FREE 45-Day Online Edition C Cookbook Other resources from O'Reilly Related titles C in a Nutshell STL Pocket Reference C Pocket Reference Unit Test Frameworks UML 2.0 in a Nutshell Practical C Programming Learning UML is more than a complete catalog of O'Reilly books.Where those designations appear in this book, and O’Reilly Media, Inc.was aware of a trademark claim, the designations have been printed in caps or initial caps.
Managing Data with Containers 213 6.1 Using vectors Instead of Arrays 214 6.2 Using vectors Efficiently 218 6.3 Copying a vector 222 6.4 Storing Pointers in a vector 224 6.5 Storing Objects in a list 226 6.6 Mapping strings to Other Things 231 6.7 Using Hashed Containers 237 6.8 Storing Objects in Sorted Order 242 6.9 Storing Containers in Containers 245 7.
The Cookbook series designations, C Cookbook , the image of a collie, and related trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks.
While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
Rep Kover, This book uses Rep Kover” a durable and flexible lay-flat binding.