设计String类
//C++ 设计String类:构造函数,拷贝构造函数,析构函数,赋值函数
#include
using namespace std;
class String
{
public:
String(const char *str=NULL);
String(const String&another);
~String();
String&operator=(cons...
分类:
编程语言 时间:
2014-07-26 02:59:16
阅读次数:
383
SharePoint来自相同网站集另一个站点的列表 Display SharePoint list from another site...
分类:
Web程序 时间:
2014-07-25 11:23:11
阅读次数:
299
折腾好久不行,问题关键是找不到到底是哪个进程造成了锁死,v$locked_object这个视图又没有权限。 最终解决方法如下: PL/SQL Developer 中 Tools->Sessions打开session窗口,在窗口的下半部分有一个locks的tab页,...
分类:
数据库 时间:
2014-07-25 00:10:24
阅读次数:
251
FroggerDescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans ...
分类:
其他好文 时间:
2014-07-24 21:18:13
阅读次数:
334
一、Creational patterns创建模式Abstract factory(recognizeable by creational methods returning the factory itself which in turn can be used to create another...
分类:
其他好文 时间:
2014-07-24 12:20:35
阅读次数:
391
Are you a hacker?How to build another QQ/Wechat/whatsapp/skype/imessage?Let's go through this!!!!Materials:A linux/unix/windows/mac computer/server, a...
分类:
数据库 时间:
2014-07-23 20:44:35
阅读次数:
568
Fear can hold you prisoner, hope can set you free. A strong man can save himself, a great man can save another.懦怯囚禁人的灵魂,希望可以令你感受自由。强者自救,圣者渡人。 ...
分类:
其他好文 时间:
2014-07-23 18:04:05
阅读次数:
207
【UsePass】 The UsePass command uses named passes from another shader.[Syntax] UsePass"Shader/Name" Inserts all passes with a given name from a given...
分类:
其他好文 时间:
2014-07-23 14:54:26
阅读次数:
287
Another Double pointer solution. 1A!class Solution {public: ListNode *removeNthFromEnd(ListNode *head, int n) { ListNode *p = NULL; ...
分类:
其他好文 时间:
2014-07-23 14:52:16
阅读次数:
176
// Jakarta Commons Loggingprivate static final Log log = LogFactory.getLog(MyClass.class);The above code also shows another good practice, which is to...
分类:
其他好文 时间:
2014-07-23 12:43:46
阅读次数:
239