您的位置:首页 > 其它

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

2014-10-19 01:41 176 查看
测试

 

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

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: