整理下,参考了许多库,谢谢那些无私奉献的大牛,愿上帝保佑你们。1、构造器采用驼峰式命名,并且首字母大写。如:function DialogManager (
config ) { statement;}2、枚举类型变量采用驼峰式命名,并且首字母大写。属性名单词全部大写,单词间以下划线分隔。如:...
分类:
编程语言 时间:
2014-05-15 21:42:06
阅读次数:
385
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Reflection;namespace TestConsole{ ...
分类:
其他好文 时间:
2014-05-15 17:07:04
阅读次数:
187
创建表:
hive> CREATE TABLE pokes (foo INT, bar STRING);
Creates a table called pokes with two columns, the first being an integer and the other a string
创建一个新表,结构与其他一样
hive> create table n...
分类:
其他好文 时间:
2014-05-15 07:07:58
阅读次数:
303
微软在2014年5月12日的TechEd大会上宣布将会发布下一代ASP.NET框架ASP.NET vNext的预览。此次发布的ASP.NET框架与以前相比发生了根本性的变化,凸显了微软“云优先”(cloud-first)的新战略思想。...
分类:
Web程序 时间:
2014-05-15 04:27:11
阅读次数:
462
题目
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers in each row are sorted from left to right.The first integer...
分类:
其他好文 时间:
2014-05-15 03:41:11
阅读次数:
257
前段时间英语老师要求我们写一篇自己的personal statement,我相信作为一个IT学生,很多人对personal statement应该都是很了解的,出国留学深造都是必须的,当然想想自己也觉得有点遥远,但是以后的事情也说不好,说不定以后真能用的着呢,还是认认真真的写完personal statement。以下是英语汉语对照的全文。
As an applicant to your Uni...
分类:
其他好文 时间:
2014-05-15 02:40:28
阅读次数:
273
Implement strStr().Returns a pointer to the
first occurrence of needle in haystack, or null if needle is not part of
haystack.此题我觉得并不是真要你写出kmp算法。 指针暴力...
分类:
其他好文 时间:
2014-05-15 01:49:42
阅读次数:
330
#include
#include
#include
#include
#include
// #include
int main(void){
char str1[]="This is the first string";
char str2[]="That is the other string";
// printf(strcpy(str1,str...
分类:
其他好文 时间:
2014-05-15 01:39:40
阅读次数:
348
在上一篇【Java编程】建立一个简单的JDBC连接-Drivers, Connection, Statement and PreparedStatement我们介绍了如何使用JDBC驱动建立一个简单的连接,并实现使用Statement和PreparedStatement进行数据库查询,本篇blog将接着上篇blog通过SQL注入攻击比较Statement和PreparedStatement。当然这两者还有很多其他方面的不同,在之后的blog中会继续更新。...
分类:
数据库 时间:
2014-05-14 20:44:25
阅读次数:
497
用到的接口和类
1) java.sql.Connection 接口
1)) createStatement() 获得Statement
2)) prepareStatement(String sql) 获得preparedStatement
3)) prepareCall(String sql) 调用存储过程
2)java.sql.DriverManager 类
1))getConnection(String url, String user, String passwor...
分类:
数据库 时间:
2014-05-14 15:14:08
阅读次数:
519