i want to copy the contents of one file to another file.But using the following code only first line is copied;
Qt Code:
while(!f.atEnd()) { in>>q; out<<q; } f.close(); f1.close();To copy to clipboard, switch view to plain text mode
i want to copy the contents of one file to another file.But using the following code only first line is copied;
Qt Code:
while(!f.atEnd()) { in>>q; out<<q; } f.close(); f1.close();To copy to clipboard, switch view to plain text mode
Last edited by high_flyer; 7th February 2011 at 11:54. Reason: code tags
Bookmarks