Reading Stdout into a Flatfile and Java Compiling Problems
I have a program that outputs a lot of data to the terminal and I need to load it into an array in java. What's the best way of doing this?
Thanks!!
Edit I was gonna post again but decided to consolidate it into one post: I have some code in java, it compiles perfectly in JCreator on Windows, but when I try and gcj it, I get weird stuff like this:
initial3d.java:54: parse error.
return dim;
^
and this:
initial3d.java:103: Invalid declaration.
StringBuffer length = new StringBuffer();
why is gcj trying to compile it differentley?
Last edited by omarbohsali; 01-14-2005 at 11:56 PM.
|