码迷,mamicode.com
首页 >  
搜索关键字:single    ( 5020个结果
类设计的SOLID原则
SOLID原则是面向对象范式的核心单一职责原则(Single Responsible Principle, SRP):对于一个类,应该仅有一个引起它变化的原因。其基础是内聚,表示类完成单一功能的程度。开放—封闭原则(Open Closed Principle,OCP):类应该对扩展开放,对修改关闭。...
分类:其他好文   时间:2015-04-18 12:59:19    阅读次数:144
QtGui.QLineEdit
AQtGui.QLineEditis a widget that allows to enter and edit a single line of plain text. There are undo and redo, cut and paste, and drag & drop functio...
分类:其他好文   时间:2015-04-17 21:52:50    阅读次数:180
windows动态库的问题调试
windows的动态库有几个需要注意的地方,因为相比较linux的动态库而言,需要设置的地方实在太多了。 1、首先需要注意的是运行时库的模式的选择一定要一致的! 原因在于每个dll库的堆管理器都是建立在运行时库crt的副本的基础之上,而每一个库必然有一个运行时库的副本。这里涉及到几个选择问题。 第一,选择mt还是md的问题, 1)mt表示的是mutilt-thread single,表示的...
分类:Windows程序   时间:2015-04-17 20:32:56    阅读次数:225
QtGui.QInputDialog
TheQtGui.QInputDialogprovides a simple convenience dialog to get a single value from the user. The input value can be a string, a number or an item fr...
分类:其他好文   时间:2015-04-17 20:03:53    阅读次数:193
leetcode_136题——Single Number(哈希表hashtable,multiset)
#include//#include//#include#includeusing namespace std;/*这道题,直接采用multiset来做,就太简单了,没啥好说的,就是全导进去,然后count下就OK了,因为在set中查找都O(1)所以呢是线性的算法复杂度*/int singleNum...
分类:其他好文   时间:2015-04-17 17:51:20    阅读次数:176
leetcode problem 10 Regular Expression Matching
Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:其他好文   时间:2015-04-17 13:37:58    阅读次数:120
Topcoder Arena插件配置和训练指南
一、 Arena插件配置1. 下载Arena 指针:http://community.topcoder.com/tc?module=MyHome 左边Competitions->Algorithms->Single Match Rounds->Launch Arena->Load Competi.....
分类:其他好文   时间:2015-04-17 13:19:30    阅读次数:135
LeetCode-Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-04-17 07:06:41    阅读次数:136
LeetCode 10 Regular Expression Match
'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input string (not partial).The...
分类:其他好文   时间:2015-04-17 00:58:49    阅读次数:127
【leetcode】 Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-04-16 23:33:54    阅读次数:119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!