原创地址:http://www.cnblogs.com/Alandre/
(泥沙砖瓦浆木匠),需要转载的,保留下! Thanks The reasonable man adapts himself to the world;the
unreasonable...
分类:
编程语言 时间:
2014-06-07 05:28:48
阅读次数:
349
DescriptionConflicts are everywhere in the
world, from the young to the elderly, from families to countries. Conflicts
cause quarrels, fights or even ...
分类:
其他好文 时间:
2014-06-07 04:23:10
阅读次数:
213
break break如果用于循环适用于终止循环
break如果用于switch,则是用来终止switch break不能直接用于if,除非if属于循环内部的一个子句 如 if (表达式) break 是错误的
1 # include 2 3 int main (void) 4 { 5 i...
分类:
编程语言 时间:
2014-06-07 03:54:36
阅读次数:
268
1. 最基本的读文件方法:# File: readline-example-1.pyfile =
open("sample.txt")while 1: line = file.readline() if not line: break pass # do
something 一行一行得从文件读数据....
分类:
编程语言 时间:
2014-05-29 01:34:30
阅读次数:
402
一、if判断数字: $A=12 $B=15 if(("$A"<"$B"))
if(("$A"=="$B"))字符串: $A="HELLO" $B="WORLD" if [ "$A" = "FACT_LOGIN_USER" ] if [
"$A" = "$B" ]PS:字符串比较的时候...
分类:
其他好文 时间:
2014-05-28 09:32:44
阅读次数:
347
单独按Windows:显示或隐藏 “开始”功能表Windows+BREAK:显示“系统属性”
对话框Windows+D:显示桌面Windows+M:最小化所有窗口Windows+Shift+M:还原最小化的窗口Windows+E:开启“资源管理器”Windows+F:查找文件或文件夹Windows+...
分类:
其他好文 时间:
2014-05-28 00:38:31
阅读次数:
315
安装包下载:http://www.nodejs.org/download/Windows
操作系统安装方法:第一步:下载安装包:第二步:运行node-v0.10.28-x86.msi,选择要安装的地址。第三步:安装完后,运行cmd
,输入node,如图:说明安装成功。这样你就进入nodejs 世界。...
分类:
Web程序 时间:
2014-05-27 16:55:45
阅读次数:
364
We are the World词曲:Michael Jackson & Lionel
RichThere comes a time when we heed a certain call (Lionel Richie 莱昂纳尔.里奇)When
the world must come togethe...
分类:
其他好文 时间:
2014-05-26 17:07:17
阅读次数:
266
前提条件是已经安装了g++要是没有安装,就yum install
g++1,编写Hello.cpp1>vim2>#include int main(){ printf("Hello,the world!");
return 0;}3>:w hello.cpp2,退出vim !q3,编译#g++ .....
分类:
编程语言 时间:
2014-05-25 22:19:17
阅读次数:
468
1. 变量赋值时 = 两边不能有空格.2. if比较时 = 两遍有空格.3. [ 的左右两边 和 ]
的左边有空格, 1 #!/bin/sh 2 # 字符串比较 3 aa= 4 bb="hello" 5 cc="world" 6 7 #
1.注意判断中的字符串变量用双引号括起来(不括起来在某些情况....
分类:
其他好文 时间:
2014-05-25 22:01:11
阅读次数:
298