#include <iostream> #include <vector> #include<boost/progress.hpp> using namespace std; using namespace boost; int _tmain(int argc, _TCHAR* argv[]) { vector<int> v; progress_display pd(10000); for(int i=0;i<10000;++i){ v.push_back(i*100); ++pd; } return 0; }
时间: 2024-12-30 23:09:56