码迷,mamicode.com
首页 > 系统相关 > 详细

测试-使用MarsEdit作为Mac OS X的博客园客户端

时间:2014-10-19 02:38:30      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:style   color   io   os   ar   使用   sp   on   cti   

测试

?

#include <iostream>

#include <functional>

#include <memory>

using namespace?std;

?

class Test

{

public:

? ? Test()

? ? {

? ? ? ? cout << "Test " << endl;

? ? }

?? ?

? ? ~Test()

? ? {

? ? ? ? cout << "~Test" << endl;

? ? }

private:

? ? int value_;

};

?

?

int main(int argc, const char * argv[])

{

?

? ? // insert code here...

? ? std::cout << "Hello, World!\n";

? ? std::shared_ptr<Test> ptr(new Test);

?? ?

?? ?

? ? return 0;

}

测试-使用MarsEdit作为Mac OS X的博客园客户端

标签:style   color   io   os   ar   使用   sp   on   cti   

原文地址:http://www.cnblogs.com/inevermore/p/4034155.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!