view test/out.k @ 0:536b29f11352

add some files
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sat, 28 Apr 2012 21:01:53 +0900
parents
children
line wrap: on
line source

void main(String[] args) {
	int size = 0;
	OutputStream out = new OutputStream("output.txt");
	String m = "out put test";
	out <<< m <<< EOL;
	if(args.size > 0) {
		out <<< args[0] <<< EOL;
	}
	else  {
		out <<< "test" <<< EOL;
	}
	out.close();
}