二、新课:1.break与continue.这两个关键字一般放在循环的花括号里面使用。break——结束整个循环。continue——结束本次循环,进入下次循环。break的案例: int i = 1; for(;;) { if(i>100) { ...
分类:
编程语言 时间:
2014-12-26 21:37:15
阅读次数:
205
If we run a Gradle build and one of the tasks fails, the whole build stops immediately. So we have fast feedback of our build status. If we don't want...
分类:
其他好文 时间:
2014-12-26 21:31:21
阅读次数:
262
AIX-vi操作-提示Unknown terminal type的问题解决方法AIX Version 5.3$ vi /etc/profilelinux: Unknown terminal type[Hit return to continue] :q!I don't know what kind ...
分类:
其他好文 时间:
2014-12-26 12:52:57
阅读次数:
984
1、expr计算整数变量值
s=`expr 2 + 3`
运算符号和参数之间要有空格分开;
2、let命令
let
s=(2+3)*4
echo
$s
3、for语句
for 变量 in 列表
do
命令行(通常用到循环变量)
done
#!/bin/bash
for var in one two three four five
do
...
分类:
系统相关 时间:
2014-12-17 21:03:44
阅读次数:
221
语句语句分为四个大类: * 分支语句:if,if... else,if ...else if... else,switch case * 循环语句:for,while,do while,foreach * 跳转语句:break,continue ...
HTTP 状态码含义1XX** 100 Continue:告知客户端可以继续进行操作* 101 Switching Protocols:客户端需要进行通信协议切换时,服务端同意后的响应,与Upgrade报头联合使用2XX*** 200 Ok:服务端正确响应了请求,并且没有与其它2XX的状态...
分类:
Web程序 时间:
2014-12-17 16:04:52
阅读次数:
177
Command class: aliases
ni -- Step one instruction
rc -- Continue program being debugged but run it in reverse
rni -- Step backward one instruction
rsi -- Step backward exactly one instruction
...
分类:
数据库 时间:
2014-12-17 12:57:13
阅读次数:
302
大家好,好几天都没写博客了。因为自己的一些原因,落下了很多。今天没有学什么新的知识,自己就把以前落下的好好看了一下。好了,今天就先总结一下SQL剩下的一些知识吧。主要学的知识有:循环语句(case语句,if else语句,while语句),跳转语句(break, continue),存储过程,视图....
分类:
数据库 时间:
2014-12-15 21:35:19
阅读次数:
316
语句:分支语句: if,if else,if elseif else,switch case循环语句:for,while,do while,foreach跳转语句:break,continue异常语句:try catch finally 分支语句:int a=5;if (a>0){ Console....
分类:
其他好文 时间:
2014-12-15 08:56:38
阅读次数:
212
跳转语句:break例:for(int i=0;;i++) //无判断条件,即永远满足条件,无限循环{console.writeline("hello world!");if(i==9){break; //i=9时跳出循环}continue:if (i==2){continue; //结束conti...
分类:
其他好文 时间:
2014-12-15 08:55:13
阅读次数:
152