When the notepad opens the file something is written into the file
using namespace std;
void f(const char *fname)
ifstream fin(fname,ios::in | ios::binary);
cout << "File not opened";
and saved.But when f() opens the file the output shown : File not opened.How can i open the file from f()?
(Tried on Dev C++ 126.96.36.199 and Code Blocks 1.02rc)
2. Is _unlink for removing a file from C++ outdated as i need to include io.h for it 2 work?How can i do so using new headers?