PDA

View Full Version : how to delete all data in text file?



banlinhtienphong
11th October 2011, 10:41
thanh in advance!

wysota
11th October 2011, 10:44
QFile file("file");
file.open(QFile::WriteOnly|QFile::Truncate);