I\'ve been trying to open a file and output text, but I keep getting errors. So I thought I would start at the very beginning and just try opening the file. This is my cod
Try using an absolute path for the filename. And if you are using Windows, use getlasterror() to see the actual error message.