Nick Rowe wrote:I've just looked at an example of writing to a file and have noticed that in my code
i dont have a file writer, surely i need this to create a file, i seem to have the appropriate library for it but do not have one in my writeResults method???
Michael Angstadt wrote:when documenting a method, you should also describe each method parameter and its return value.
Nick Rowe wrote:If you run my program you'll see what I mean, im getting so frustrated with it
Nick Rowe wrote:The only additional content i've added is before i close the writer in my try/catch scenario
System.err.println( "Your Data Has Been Written To The File Successfully" );
Nick Rowe wrote:If the write was successful the output message would have appeared in the command window also informing me that the task had been completed.
Nick Rowe wrote:Am i right in referencing the location with double backslashes?
Nick Rowe wrote:Would deleting the class file and re-compiling the program do anything to assist me?
Nick Rowe wrote:I never forget.
Nick Rowe wrote:I've recompiled the program but when i try to run it using java -cp.Find ...
Ernest Friedman-Hill wrote:... (That's java space dash cp space dot space Find)
Nick Rowe wrote:So pardon my stupidity but what did i just do
and why doesn't it work with the standard java Find command after compiling with javac??