I want to use the following program for replacing the first character 
in the file name with "w" its not working please help......
#include<iostream.h>
#include<fstream.h>
#include<conio.h>
main()
{
clrscr();
ofstream outf;
outf.open("D:\\cat\\normal.txt",ios::ate|ios::in|ios::out);
outf<<"w"<<endl;
outf.close();
getch();
}


Reply via email to