progress_display

简介:


#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;
}
image

==============================================================================
本文转自被遗忘的博客园博客,原文链接:http://www.cnblogs.com/rollenholt/archive/2012/03/26/2418335.html,如需转载请自行联系原作者
相关文章
|
9月前
|
前端开发
display:contents
display:contents
44 1
|
9月前
display:block小技巧
display:block小技巧
45 0
|
前端开发 JavaScript API
How to change the background color of button in Footer area
How to change the background color of button in Footer area
119 0
How to change the background color of button in Footer area
|
网络协议
|
网络协议