Comment

Comment by guelo

Is this what he's looking for?

  public static void main(String[] args) throws IOException {
      int ch;
      while ((ch = System.in.read()) != -1)
          System.out.print((char) ch);
  }
parent guelo 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton