定义String.Format是将指定的String类型的数据中的每个格式项替换为相应对象的值的文本等效项.(1)string p1="xiaomeng";string p2="xiaobei";Response.Write(String.Format("Hello {0},I'm {1}",p1,...
分类:
其他好文 时间:
2014-07-09 22:39:53
阅读次数:
249
thinkPHP的学习笔记(一),thinkPHP的安装,配置和hello world!
分类:
Web程序 时间:
2014-07-09 22:33:15
阅读次数:
340
我们在程序中常常会用到MessageBox。 MessageBox.Show()共同拥有21中重载方法。现将其常见使用方法总结例如以下:1.MessageBox.Show("Hello~~~~");最简单的,仅仅显示提示信息。2.MessageBox.Show("There are somethi....
分类:
其他好文 时间:
2014-07-09 22:30:26
阅读次数:
313
第一步,大家都知道的,肯定下载安装包,下载地址:http://nodejs.org/下载完成后直接安装,安装成功后,打开cmd,输入:node -v这时候,表示我们已经安装成功了。第二步,理所当然的,"hello world" 程序新建一个hello.js文件,里边输入:console.log("h...
分类:
Web程序 时间:
2014-07-09 20:35:43
阅读次数:
243
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl...
分类:
其他好文 时间:
2014-07-09 00:53:55
阅读次数:
277
package word;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.apache.poi.POIXMLDocument;
import org.apache...
分类:
编程语言 时间:
2014-07-08 21:37:20
阅读次数:
180
Velocity知识点总结
1. 变量
(1)变量的定义:
#set($name = "hello") 说明:velocity中变量是弱类型的。
当使用#set 指令时,括在双引号中的字面字符串将解析和重新解释,如下所示:
#set($directoryRoot = "www" )
#set($templateName = "index.vm" )
...
分类:
其他好文 时间:
2014-07-08 20:55:01
阅读次数:
195
本章主要初步介绍Android工程开发环境的搭建,以对Android项目整体的认识与了解。本章包括Android开发环境搭建、第一个Android项目Hello World与Android项目的文件目录结构介绍。...
分类:
移动开发 时间:
2014-07-08 18:11:26
阅读次数:
193
欧拉通路+并查集+字典树
题意是说 木棍两头有颜色,怎么排让它连成一串。颜色相同可以接起来。
最开始想用map水过去,一直TLE。怒点字典树天赋……花了一上午。
字典树不多介绍,我的节点开小了,CE好几次,才想起
“There is no more than 250000 sticks.”
“A word is a sequence of lowercas...
分类:
其他好文 时间:
2014-07-08 17:22:26
阅读次数:
180