W+ dose not mean i can read and write the file in the meanwhile?i use printf("hi") to detect whether the file has been read,but the result is not.Therefore,can someone tell me how to read the file in w+ version?thank a lot
yes,bro,if i use w/w+,the whole txt file will be over write,but if i use r/r+,it just add some data in the txt file,it cannot remove the data form the txt file.