- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 boost库之shared_ptr
// shared_ptr_Exam.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include using namespace std; #include "boost/smart_ptr.hpp" using namespace boost;
2012-05-05 17:24:28 1396
原创 boost库之scoped_array
// scoped_array_Exam.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "boost/smart_ptr.hpp" using namespace boost; int _tmain(int argc, _TCHAR* argv[]) {
2012-05-05 16:55:59 823
原创 boost库之scoped_ptr
scoped:范围的意思// scoped_ptr_Exam.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include using namespace std; #include "boost/smart_ptr.hpp" using namespa
2012-05-05 16:26:57 943
原创 boost库之date
1.date// date_Exam.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #define BOOST_DATE_TIME_SOURCE #include "libs/date_time/src/gregorian/greg_names.hpp" #
2012-05-05 12:07:31 2943
原创 boost库之时间处理(timer,progress_timer, progress_display)
1.timer #include "stdafx.h" #include #include "boost/timer.hpp" //using namespace boost; int _tmain(int argc, _TCHAR* argv[]) { boost::timer t; std::cout << t.elapsed_max() << std::endl; //可度量的
2012-05-04 20:35:38 2345
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人