the code u have given i tested that, and that is creating a output
file indeed but that is not readable....is that a binary file???
i.e
outfile.writeInt(12);
> outfile.writeInt(7);
> outfile.writeInt(8);
> outfile.writeInt(8);
> outfile.writeInt(4);
this is producing an output file but there is no 12 7 8 8 and
4 ....some non-readblae characters are there......