Zergi
12th January 2008, 19:32
Hi
I have a problem, my program at start creates a txt file, later he is writting something in to this txt file but he is not adding text but overwritting previous line... With this i have all time only 1 line in my txt file, Do u know any function wich ll add text to he next linet?
QFile file("out.txt");
if (!file.open(QIODevice::WriteOnly | QIODevice::Text))
return;
QTextStream out(&file);
out << temp[0];
(it is from example)
Best Regards
I have a problem, my program at start creates a txt file, later he is writting something in to this txt file but he is not adding text but overwritting previous line... With this i have all time only 1 line in my txt file, Do u know any function wich ll add text to he next linet?
QFile file("out.txt");
if (!file.open(QIODevice::WriteOnly | QIODevice::Text))
return;
QTextStream out(&file);
out << temp[0];
(it is from example)
Best Regards