C++模板技術和STL實戰開發(12)——STL容器與算法(6)——變異算法

變異算法就是會讓施加的容器中的元素髮生變化 1.copy 代碼示例: #include <iostream> #include <algorithm> #include <vector> #include <iterator> using namespace std; //尋找兩個整型數組中元素不相等時候的元素值 int main() { int a[] = {1,2,3,4,5}; int
相關文章
相關標籤/搜索