摘要:
explicit可以有效得防止构造函数的隐式转换带来的错误或者误解输出vectorcopy(vec.begin(), vec.end(), ostream_iterator(cout, " "));for (auto c : vec) std::cout << c << ' ';array to vectorvint vec(arr,arr+sizeof arr/sizeof... 阅读全文
摘要:
sudo apt-get install cmakesudo apt-get install libboost-dev libboost-test-devsudo apt-get install libcurl4-openssl-dev libc-ares-devsudo apt-get insta... 阅读全文