Windows will not allow you to change an EXE file while it is running, so you cannot add new text to the same file as your EXE. You have to use a separate file.
I don't understand why you think you need 3 files. If the content is always 500 doubles and ints, then just write the doubles and then the ints to the same file. If you want to use QDataStream to read and write the strings, then use QDataStream to read and write the arrays of doubles and ints also.
Bookmarks