Intelligentedu intelligentedu
Free Computer and IT Books 免費的電腦及資訊科技書籍
Translate to EnglishÜbersetzen Sie zum Deutsch/GermanTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese
한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese Traditionalترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/Russian





Blog Roll: 博客滾動:


Top Links: 頂部鏈接:

December 2, 2005 2005年12月2日

The Standard Template Library Programmers Guide for C++標準模板庫程序員指南為C + +

The Standard Template Library, or STL , is a C++ (cplusplus)library of container classes, algorithms, and iterators; it provides many of the basic algorithms and data structures of computer science. 標準模板庫,或STL的 ,是 C + + ( cplusplus )圖書館集裝箱班,算法,迭代器,它提供的許多基本算法和數據結構,計算機科學。 The STL is a generic library, meaning that its components are heavily parameterized: almost every component in the STL is a template. 有關的STL是一個通用的圖書館,即其組成部分,是大量的參數:幾乎每一個組成部分,在STL的是一個範本。 You should make sure that you understand how templates work in C++ before you use the STL. 您應該確保您了解如何在模板工作在 C + +前,您使用的STL 。 The Standard Template Library Programmer's Guide 標準模板庫程序員指南 will show you how to use these classes, algorithms and iterators when coding in the C++ programming language. 將顯示您如何使用這些班,算法和迭代時,編碼,在 C + +編程語言。 You can 您可以 download 下載 the full manual, and also available are 充分手冊,還提供了 Frequently Asked Questions 常見問題 to help and guide you. 幫助和引導你。


The Standard Template Library Programmer's Guide 標準模板庫程序員指南

  1. Introduction to the STL 引入到的STL
  2. How to use the documentation 如何使用文件
  3. Containers 容器
    1. Concepts 概念
      1. General concepts 一般概念
        1. Container 貨櫃
        2. Forward Container 推進集裝箱
        3. Reversible Container 可逆貨櫃
        4. Random Access Container 隨機存取貨櫃
      2. Sequences 序列
        1. Sequence 序列
        2. Front Insertion Sequence 前面插入序列
        3. Back Insertion Sequence 回到插入序列
      3. Associative Containers 聯想容器
        1. Associative Container 聯想貨櫃
        2. Simple Associative Container 簡單的聯想貨櫃
        3. Pair Associative Container 對聯想貨櫃
        4. Sorted Associative Container 排序聯想貨櫃
        5. Hashed Associative Container 虛線的聯想貨櫃
        6. HashFunction hashfunction
        7. Unique Associative Container 獨特的聯想貨櫃
        8. Multiple Associative Container 聯想多個貨櫃
        9. Unique Sorted Associative Container 獨特的排序,聯想貨櫃
        10. Multiple Sorted Associative Container 多個排序聯想貨櫃
        11. Unique Hashed Associative Container 獨特的虛線的聯想貨櫃
        12. Multiple Hashed Associative Container 多個散列聯想貨櫃
    2. Container classes 集裝箱班
      1. Sequences 序列
        1. vector 矢量
        2. deque deque
        3. list 名單
        4. slist slist
        5. bit_vector bit_vector
      2. Associative Containers 聯想容器
        1. set 設置
        2. map 地圖
        3. multiset multiset
        4. multimap Multimap之
        5. hash_set hash_set
        6. hash_map hash_map
        7. hash_multiset hash_multiset
        8. hash_multimap hash_multimap
        9. hash 哈希
      3. String package 字符串包
        1. Character Traits 性格特徵
        2. char_traits char_traits
        3. basic_string basic_string
      4. rope 繩子
      5. Container adaptors 貨櫃適配器
        1. stack
        2. queue 隊列
        3. priority_queue priority_queue
      6. bitset bitset
  4. Iterators 迭代
    1. Introduction 導言
    2. Concepts 概念
      1. Trivial Iterator 瑣碎的迭代
      2. Input Iterator 輸入迭代
      3. Output Iterator 輸出迭代
      4. Forward Iterator 向前迭代
      5. Bidirectional Iterator 雙向迭代
      6. Random Access Iterator 隨機存取迭代
    3. Iterator Tags 迭代標籤
      1. Introduction 導言
      2. iterator_traits iterator_traits
      3. iterator_category iterator_category
      4. distance_type distance_type
      5. value_type value_type
      6. Iterator tag classes 迭代標記班
        1. input_iterator_tag input_iterator_tag
        2. output_iterator_tag output_iterator_tag
        3. forward_iterator_tag forward_iterator_tag
        4. bidirectional_iterator_tag bidirectional_iterator_tag
        5. random_access_iterator_tag random_access_iterator_tag
      7. Iterator base classes 迭代基地班
        1. input_iterator input_iterator
        2. output_iterator output_iterator
        3. forward_iterator forward_iterator
        4. bidirectional_iterator bidirectional_iterator
        5. random_access_iterator random_access_iterator
    4. Iterator functions 迭代職能
      1. distance 距離
      2. advance 前進
    5. Iterator classes 迭代班
      1. istream_iterator istream_iterator
      2. ostream_iterator ostream_iterator
      3. front_insert_iterator front_insert_iterator
      4. back_insert_iterator back_insert_iterator
      5. insert_iterator insert_iterator
      6. reverse_iterator reverse_iterator
      7. reverse_bidirectional_iterator reverse_bidirectional_iterator
      8. raw_storage_iterator raw_storage_iterator
      9. sequence_buffer sequence_buffer
  5. Algorithms 算法
    1. Non-mutating algorithms 非變異算法
      1. for_each for_each
      2. find 查找
      3. find_if find_if
      4. adjacent_find adjacent_find
      5. find_first_of find_first_of
      6. count 計數
      7. count_if count_if
      8. mismatch 錯配
      9. equal 平等
      10. search 搜索
      11. search_n search_n
      12. find_end find_end
    2. Mutating algorithms 變異算法
      1. copy 複製
      2. copy_n copy_n
      3. copy_backward copy_backward
      4. Swap 掉期
        1. swap 掉期
        2. iter_swap iter_swap
        3. swap_ranges swap_ranges
      5. transform 變換
      6. Replace 取代
        1. replace 取代
        2. replace_if replace_if
        3. replace_copy replace_copy
        4. replace_copy_if replace_copy_if
      7. fill 充滿
      8. fill_n fill_n
      9. generate 產生
      10. generate_n generate_n
      11. Remove 刪除
        1. remove 刪除
        2. remove_if remove_if
        3. remove_copy remove_copy
        4. remove_copy_if remove_copy_if
      12. unique 獨特
      13. unique_copy unique_copy
      14. reverse 扭轉
      15. reverse_copy reverse_copy
      16. rotate 旋轉
      17. rotate_copy rotate_copy
      18. random_shuffle random_shuffle
      19. random_sample random_sample
      20. random_sample_n random_sample_n
      21. partition 分割
      22. stable_partition stable_partition
    3. Sorting 排序
      1. Sort 排序
        1. sort 排序
        2. stable_sort stable_sort
        3. partial_sort partial_sort
        4. partial_sort_copy partial_sort_copy
        5. is_sorted is_sorted
      2. nth_element nth_element
      3. Binary search 二元搜尋
        1. lower_bound lower_bound
        2. upper_bound upper_bound
        3. equal_range equal_range
        4. binary_search binary_search
      4. merge 合併
      5. inplace_merge inplace_merge
      6. Set operations on sorted ranges 一套行動,清理範圍
        1. includes 包括
        2. set_union set_union
        3. set_intersection set_intersection