import java.io.*;
/**
* Read a file in character mode - maximally inefficient.
* @author Ian F. Darwin, ian@darwinsys.com
* @version $Id: CharMode.java,v 1.2 2000/11/25 17:55:28 ian Exp $
*/
public class CharMode {
public static void main(String[] argv) throws IOException {
//+
BufferedReader is = new BufferedReader(
new InputStreamReader(System.in));
int c;
while ((c=is.read()) != -1) {
System.out.print((char)c);
}
//-
}
}
|