N
nemadrias
How do I write to a file (using a FileWriter) from a filled vector??
I.E. Why can't I do this??
for (i = 0; i < myVector.size(); i++){
myWriter.write(myVector.elementAt(i));
myWriter.flush();
myWriter.close();
}
Thanks,
Steve
I.E. Why can't I do this??
for (i = 0; i < myVector.size(); i++){
myWriter.write(myVector.elementAt(i));
myWriter.flush();
myWriter.close();
}
Thanks,
Steve