21.02.2015, 22:32
If you only use fseek you will overwrite the existing data instead
Save the complete file into the memory and add your string at the wanted position (with the str functions)
Write the complete data back to file
Save the complete file into the memory and add your string at the wanted position (with the str functions)
Write the complete data back to file