I coded a C program which reads a file and manipulates data etc. I complied and ran it on Visual C++ and it ran fine.But next time i ran it,it couldnt open the file i created the file as a text file .following is the code
infile = fopen("rdata.txt", "r");
outfile = fopen("01-14.out", "w");
any suggestions Thank you

reading file in C
Analyst
Make sure the filename is correct (is it rdata.txt or 01-14.out )
Also, the current working directory must be correct. If your code changes it or you run your code from a different directory, you might not be able to find the file.
rajas
DotNET_Guru