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,如需转载请自行联系原作者
相关文章
Failed to execute ‘setAttribute‘ on ‘Element‘: ‘;min-height:‘ is not a valid attribute name.添加100vh
Failed to execute ‘setAttribute‘ on ‘Element‘: ‘;min-height:‘ is not a valid attribute name.添加100vh
|
8月前
|
Android开发
Can t process attribute android:fillColor=@color/camera_progress_delete: references to other resou
Can t process attribute android:fillColor=@color/camera_progress_delete: references to other resou
52 1
display:block小技巧
display:block小技巧
61 0
|
编解码
window.innerHeight window.outerHeight 与screen.height
本文目录 1. window 2. innerHeight与outerHeight 3. screen.height 4. 实例
448 0
window.innerHeight window.outerHeight 与screen.height
|
网络协议
|
网络协议