I am trying to read an input file, but so far I've had to have the file in the same folder as the workspace for it to be found. I open it as follows:
I've tried entering a path for the file, ie.Code:inp = fopen("test_outp.bin", "rb");
But an error message comes up that the file is not found.Code:inp = fopen("c:\test\test_outp.bin", "rb");
I nkow other compilers can have a path specified for the input files, I can't figure it out with Visual C++.
Any idea?