JavaIO之标准输入输出(一)
来源:互联网 发布:mac pro type c 编辑:程序博客网 时间:2024/05/17 08:41
package three.day.io;
import java.io.IOException;
import java.io.PrintStream;
public class f2 {
public static void main(String[] args) throws IOException {
int a;
while((a=System.in.read())!=-1)
{
if(a == '\t') System.exit(0);
//System.out.write(a);
PrintStream ps = new PrintStream(System.out);
ps.write(a);
}
}
}
import java.io.IOException;
import java.io.PrintStream;
public class f2 {
public static void main(String[] args) throws IOException {
int a;
while((a=System.in.read())!=-1)
{
if(a == '\t') System.exit(0);
//System.out.write(a);
PrintStream ps = new PrintStream(System.out);
ps.write(a);
}
}
}
- JavaIO之标准输入输出(一)
- JavaIO之标准输入输出(二)
- JavaIO之标准输入输出(三)
- JavaIO之输入输出流链(一)
- javaIO总结一(输入输出流)
- JavaIO之RandomAccessFile(一)
- JavaIO之ObjectStream(一)
- JavaIO之管道(一)
- JavaIO之ByteArrayStream(一)
- JavaIO输入输出学习之二
- JavaIO之创建文件(一)
- JavaIO操作之 字节 输入输出流
- JavaIO之OJ上面的输入输出
- JavaIO流(12)System改变标准输入输出设备
- java的标准输入输出(一)
- JavaIO(一)
- JavaIO总结(一)
- JavaIO流(一)
- 关于android中chronometer的问题
- dp-poj2229
- JavaIO之ObjectStream(一)
- JavaIO之管道(一)
- methods that start with "copy", "create", "new", "alloc", or "retain"
- JavaIO之标准输入输出(一)
- C++函数的参数及其传递方式学习笔记
- 各种排序算法及复杂度稳定性分析(一)
- cx_Oracle - ImportError: DLL load failed: The specific module could not be found
- oracle using 和on的用法不同处
- 在Eclipse安装Aptana插件
- JavaIO之ByteArrayStream(一)
- [CF 219D]Choosing Capital for Treeland[树形DP]
- BNU16495:Light Bulbs