Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Tài liệu đang bị lỗi
File tài liệu này hiện đang bị hỏng, chúng tôi đang cố gắng khắc phục.
Standard Template Library
Nội dung xem thử
Mô tả chi tiết
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Chapter 18
Standard Template Library
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 18- 3
Overview
18.1 Iterators
18.2 Containers
18.3 Generic Algorithms
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
18.1
Iterators
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 18- 5
Iterators
STL has containers, algorithms and Iterators
Containers hold objects, all of a specified type
Generic algorithms act on objects in
containers
Iterators provide access to objects in the
containers yet hide the internal structure of the
container