I Need Help Getting This File To Open! Please!. This project is due tonight and I cant get the file to open. I Think its a simple mistake. but I cant find it Please Help!
Maybe you don't have access to that path, or the filename is incorrect? You could try to approach it from another angle. This code attempts to first create a file, then read it back in.
I tried both ways. Not a completed project yet! *my heads hurting lol *. Been working on this for like 3 days !!! I got the out file to output but its something with the input file! I'm getting errors.
That's good! It means:
1. you have the correct pathname
2. you have both read and write access to that directory.
So far so good.
but its something with the input file! I'm getting errors.
Well - the original code in the opening post attempts to open an input file. But the rest of the code is a bit of a muddle. It never actually reads anything from the file.
Do a search for "myfile" to see where it is used, no reading of any kind.