摘要: 单例模式类文件 Single.h Single.cpp //Single.h #pragma once #include <iostream> using namespace std; class SingleClass { private: SingleClass(); public: static SingleClass* GetInstance() { if (instance == N... 阅读全文
posted @ 2011-03-23 18:42 sharpfeng 阅读(341) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/qqshenyunzcz/archive/2010/02/23/5319444.aspx 已知有一个XML文件(bookstore.xml)如下: <?xml version="1.0" encoding="gb2312"?> <bookstore> <book genre="fantasy" ISBN="2-3631-4"> <title>Oberon'... 阅读全文
posted @ 2011-03-23 16:17 sharpfeng 阅读(692) 评论(0) 推荐(0) 编辑