|
Please help me out here
consider the following program segment..
FileWriter f=new FileWriter(args[0]);
............
..........
f.write('\n');
The above given segment is from one of my programs.whenever I use f.write('\n') to go to a new line in the output file,the function is printing a small square box in the file.But,I want it to move the control to a new line so that whatever character it writes in the file thereafter writes it in a new line.This is happening for all the escape sequences used.Can anybody give me a solution for this problem?Reply soon.Thanq....
|