例子1:(具体参照drp中的flow_card_add.jsp) cell0 cell1
cell2 例子2: /news.do?method=add" method="post" enctype="multipart/form-data">
新闻标题 ...
分类:
Web程序 时间:
2014-05-16 03:57:52
阅读次数:
442
reformat
code的时候,无法将filed放在method前边,很恶心。那么先去添加一个rule,将public method放在private
field之后,其实所有的method都应该在filed之后。然后这样完全不算完,因为reformat code不会默认rearrange cod...
分类:
其他好文 时间:
2014-05-16 03:12:22
阅读次数:
341
【题目】
原文:
1.8 Assume you have a method isSubstring which checks if one word is a substring of another. Given two strings, s1 and s2, write code to check if s2 is a rotation of s1 using only one...
分类:
其他好文 时间:
2014-05-16 01:50:08
阅读次数:
311
#ifndef SWAP_H_INCLUDED#define
SWAP_H_INCLUDED#include using namespace std;struct Job{ string name; int
salary;};template void Swap(T &a, T &b);...
分类:
其他好文 时间:
2014-05-16 01:14:38
阅读次数:
340
Template 模式是很简单模式,但是也应用很广的模式。Template
是采用继承的方式实现算法的异构,其关键点就是将通用算法封装在抽象基类中,并将不同的算法细节放到子类中实现。Template 模式获得一种反向控制结构效果,
这也是面向对象系统的分析和设计中一个原则 DIP(依赖倒置:Depe...
分类:
其他好文 时间:
2014-05-15 17:15:27
阅读次数:
274
继承program by
difference.通过继承,可以建立完整的软件结构分层.其中每一层都可以重用该层次以上的Code.过度使用继承的代价是巨大的.应使用组合或者委托来替代继承.Template
Method(使用继承)和Strategy(使用委托)模式解决了相同的问题:分离通用的算法和具体...
分类:
其他好文 时间:
2014-05-15 13:49:49
阅读次数:
241
Classes FilesClassesFunctionStringWW.env
Documentation generator: JsDoc Toolkit 2.4.0 Template: Codeview 1.2 Generated
on: 2011-7-25 15:22 ...
分类:
其他好文 时间:
2014-05-15 12:02:52
阅读次数:
501
fcitx输入法支持:准备文件sublime-imfix.c:/*sublime-imfix.cUse
LD_PRELOAD to interpose some function to fix sublime input method support for
linux.By Cjacker Hua...
分类:
其他好文 时间:
2014-05-15 11:03:55
阅读次数:
244
1 #include 2 #include 3 using namespace std; 4 5
template class Queue; 6 template ostream & operator &); 7 8 template
class QueueItem...
分类:
其他好文 时间:
2014-05-15 02:01:47
阅读次数:
406
Python-based Template PackagesPython-based
Template PackagesWebBot - Build Web Apps as Easily as Native Ones - HomeBuild
Web Apps as Easily as Native ...
分类:
移动开发 时间:
2014-05-14 22:50:26
阅读次数:
348