今天上英文課, 因為我想記住這兩個單字curly braces &
parenthesis你會看到一些代碼中curly braces & parenthesis是可以替換的?You may replace
parenthesis with curly braces if, and only if, ...
分类:
其他好文 时间:
2014-05-16 07:27:23
阅读次数:
257
关于_name_和_main_的具体含义如下:_name_:在模块中就是模块名,在类中就是类名_main_:模块自身”The namespace for a
module is automatically created the first time a module is imported. Th...
分类:
编程语言 时间:
2014-05-15 15:26:00
阅读次数:
287
Problem Description:
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys l...
分类:
其他好文 时间:
2014-05-15 11:22:21
阅读次数:
317
2014-5-12 晴 复习总结
① 表格的意义,含义?
表格应该用来展现那些适合表格化显示的信息,比如数据的显示,统计或者二维报表之类的信息,而不是作为一种而已的工作
② 表格有哪些元素?
表格元素:table thead tbody tfoot caption tr th td .... 较常用
...
分类:
Web程序 时间:
2014-05-15 06:55:22
阅读次数:
418
最近安装好了MySQL之后,在启动MySQL服务时无法正常启动MySQL。提示没有更新/var/lib/mfailedZDB.pid并退出。该MySQL与Oracle位于同一主机。有些内核参数进行过调整应该也是使用与MySQL。下面是该问题的具体描述。1、故障现象SZDB:/usr/src/mysql_src # /etc/init.d/mysql startStarting MySQL...Th...
分类:
数据库 时间:
2014-05-15 05:41:43
阅读次数:
534
Pat1043代码
题目描述:
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:
The left subtree of a node contains only nodes with keys less than t...
分类:
其他好文 时间:
2014-05-15 05:09:59
阅读次数:
351
当我们在linux系统用vim编辑一个文件时,由于断电或其他的原因,比如用的ssh连接的端口,网络中断而关闭等。当再次编辑这个文件时会有提示:“filname.swp”alreadyexists![O]penRead-Only,(E)ditanyway,(R)ecover,(Q)uit:当再次按确认键,可进入编辑模式,每次进入都会问你一..
分类:
其他好文 时间:
2014-05-14 19:17:12
阅读次数:
252
最近在看Jdk6中String的源码的时候发现String的有个这样的构造方法,源代码内容如下:public String(String original)
{ int size = original.count; char[] originalValue = original.value; cha...
分类:
其他好文 时间:
2014-05-14 11:34:24
阅读次数:
274
有时候对TFS的操作需要使用命令行,因为无图形界面进行操作.我们可以进入Visual Studio
Tools使用Developer Command Prompt进行操作.使用命令witadmin /?可以查看到所有参数The following is the
list of commands th...
分类:
其他好文 时间:
2014-05-14 07:28:03
阅读次数:
515
主线程创建的时候会默认创建Looper、HandlerThread则是内置Looper,除此之外其他的线程创建时是不会创建Looper的,需手动创健线程自己的Looper。子线程更新主线程创建的控件引发的错误:Onlytheoriginalthreadthatcreatedaviewhierarchycantouchitsviews默认情况下Handler会与..
分类:
其他好文 时间:
2014-05-13 12:40:28
阅读次数:
308