hi
i want to see the source code of a web page in my browser so i wrote this, using the shortcut ^U. I have no idea if this is correct in any way.. It can be compiled and run and i get these two warnings (using dev c++):
If you can't figure out escape sequences in string literals you certainly don't have any business modifying an executable file, which is what you're attempting to do.
Learn to use google before trying to trash files on your system.
But, actually reading a little from the googling might lead you to believe that it's not as straightforward as opening a file and writing an arbitrary value to it.