Can you fopen the same file for reading and also write with "r" and "w" at the same time?
Thanks for your fast response! Fahhem
Read the fopen function in the manual. Look at w+, and r+.