The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-05-08 01:30:06
阅读次数:
127
Q: What is a Design Pattern?A: Design Patterns represent solutions to problems what arise when developing software within a particular context. ...
分类:
编程语言 时间:
2015-05-07 21:50:15
阅读次数:
187
Design Pattern:Elements of Reusable Object-Oriented Software(又被称为设计模式圣经),收录了23种设计模式,并将它们归纳为三组:创建型模式:Factory Method(工厂方法)模式、Abstract Factory(抽象工厂)模式、Bu...
分类:
其他好文 时间:
2015-05-07 20:11:13
阅读次数:
130
??
make常用内嵌函数
1、函数调用
$(function arguments) #$引用的结果就是函数生成的结果
2、Makefile下常用的函数
1)$(wildcard PATTERN) #匹配当前目录下的文件
例如:src=$(wildcard *.c) #匹配当前目录下所有的.c文件
2)$(patsubst PATTERN,REPLACEMENT,T...
分类:
其他好文 时间:
2015-05-07 14:37:18
阅读次数:
173
preg_match -- 进行正则表达式匹配。并且只匹配一次,注意与preg_match_all区别。int preg_match( string pattern, string subject [, array matches [, int flags]] ) 在 subject 字符串中搜索与...
分类:
其他好文 时间:
2015-05-07 14:00:32
阅读次数:
156
UVA - 12063
Zeros and Ones
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Binary numbers and their pattern o...
分类:
其他好文 时间:
2015-05-07 06:30:27
阅读次数:
220
Problem:
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like
this: (you may want to display this pattern in a fixed font for better legibility)
P A H ...
分类:
编程语言 时间:
2015-05-07 00:59:08
阅读次数:
176
设计模式概论1. 设计模式 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设计模式使代码编制真正工程化,设计模式是软.....
分类:
其他好文 时间:
2015-05-06 22:38:27
阅读次数:
168
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-05-06 21:04:50
阅读次数:
182
备忘录模式提供了一种状态恢复的实现机制,使得用户可以方便地回到一个特定的历史步骤,当新的状态无效或者存在问题时,可以使用暂时存储起来的备忘录将状态复原,当前很多软件都提供了撤销(Undo)操作,其中就使用了备忘录模式。...
分类:
其他好文 时间:
2015-05-06 18:01:00
阅读次数:
142