I'm writing a porgram in C++. I'm having the program create an output .txt file using the standard fstream library functions. The content of the file looks fine, but I think it's creating a "read-only" file. I can't open it up for editing in Excel, which is what I really need to do. I can get around it by saving the output file as a new file using a text editor (one that allows editing of read-only files), but that's a bit of a pain. Is there any way to get my program to create a .txt file that isn't read-only? BTW, I don't know if it matters, but I'm compiling with Cygwin. Thanks in advance!