摘要: 1 echo 和 @回显命令@ #关闭单行回显echo off #从下一行开始关闭回显@echo off #从本行开始关闭回显。一般批处理第一行都是这个echo on #从下一行开始打开回显echo #显示当前是 echo off 状态还是 echo on 状态echo. #输出一个”回车换行”,空白行 #(同echo, echo; echo+ echo[ echo] ec... 阅读全文
posted @ 2009-12-03 14:18 arix04 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 下面是20个非常有用的Java程序片段,希望能对你有用。1. 字符串有整型的相互转换String a = String.valueOf(2); //integer to numeric stringint i = Integer.parseInt(a); //numeric string to an int2. 向文件末尾添加内容BufferedWriter out = null;try {out... 阅读全文
posted @ 2009-12-03 14:16 arix04 阅读(334) 评论(0) 推荐(0) 编辑