在《浅谈设计模式的学习(上)》中我说到了设计模式的基石-----抽象思维。为什么需要抽象思维呢?因为越抽象就越不容易出错,就像有些领导人说话:坚持改革开放。但怎么算坚持改革开放呢,没有具体的标准,因事而异,所以就不容易违背这个坚持改革开放的原则了。3、学习设计模式,要保持抽象的思维
什么是抽象思维....
分类:
其他好文 时间:
2014-05-10 19:27:14
阅读次数:
441
第一步,激活Drive API首先,注册Google帐号;其次,登录Google Developers
Console;接着,建立工程和程序;紧接,激活APIs & auth;最后,选择Credentials。第二步,安装Google Client
Library安装一个NuGet包(Google....
js 与或运算符 || &&
妙用,可用于精简代码,降低程序的可读性。http://www.jb51.net/article/21339.htm如图:假设对成长速度显示规定如下:
成长速度为5显示1个箭头; 成长速度为10显示2个箭头; 成长速度为12显示3个箭头; 成长速度为15显示4个箭头; 其...
分类:
Web程序 时间:
2014-05-10 19:19:01
阅读次数:
445
第一步,激活Drive API首先,申请Dropbox的帐号;其次,在Dropbox for
Developers上获得开发所需的App Key和App Sercet。1、登录Dropbox for Developers网站;2、点击App
Console选项,选择Create app;3、点击Se...
命运Time Limit: 2000/1000 MS (Java/Others) Memory
Limit: 32768/32768 K (Java/Others) Total Submission(s): 8600 Accepted
Submission(s): 3032 Problem Desc...
分类:
其他好文 时间:
2014-05-10 19:14:57
阅读次数:
431
1、用MySQLDriverCS连接MySQL数据库先下载和安装MySQLDriverCS,在安装文件夹下面找到MySQLDriver.dll,然后将MySQLDriver.dll添加引用到项目中。
using System; using System.Collections.Gen...
分类:
数据库 时间:
2014-05-10 19:12:23
阅读次数:
453
Given a stringSand a stringT, count the number
of distinct subsequences ofTinS.A subsequence of a string is a new string which
is formed from the orig...
分类:
其他好文 时间:
2014-05-10 19:10:58
阅读次数:
389
题目描述There is a grid size of 1*N. The spanning tree
of the grid connects all the vertices of the grid only with the edges of the
grid, and every vertex...
分类:
其他好文 时间:
2014-05-10 19:00:03
阅读次数:
337