摘要: // unique algorithm example#include <iostream>#include <algorithm>#include <vector>using namespace std;bool myfunction (int i, int j) { return (i==j);}int main () { int myints[] = {10,20,20,20,30,30,20,20,10}; // 10 20 20 20 30 30 20 20 10 vector<int> myvector (myints,myints+ 阅读全文
posted @ 2011-09-01 21:26 zxfx100 阅读(205) 评论(0) 推荐(0) 编辑