Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to Swap Data Between txt File
Raminlich last edited by
i like to know is there any class for example do this:
we have two txt file with names 1 , 2.
now in want swap this Data to be like this:
No there's nothing pre-built for that. You'll have to open your files with QFile, parse their content e.g. to a QStringList, move things around, join back as a string and then overwrite the original data.
There might be other solutions though