overwrite words in textpad
hi, im having a problem overwriting a word (not appending or any other sort of thing), from a text file. Actually, i have no idea how to do it. Im using c++. The thing is, i make the user input a string, and replace it with a word in the text file.
I also have another problem, you see, i want to store the result of ' system("ver") ' in a string, is it possible to store system commands or not? if its not, could someone please tell me how to detect an operating system with c++.