#include <iostream>
#include <fstream>
#include <stdlib.h>>
using namespace std;
int main()
{
char sourceF[]="MyFile.txt",destF[]="Deep.txt",ch;
ifstream in(sourceF);
ofstream out(destF);
if(in.bad())
{
cout<<"Error in opening file....";
exit (1);
}
in.get(ch);
while(in.eof()==0)
{
#include <fstream>
#include <stdlib.h>>
using namespace std;
int main()
{
char sourceF[]="MyFile.txt",destF[]="Deep.txt",ch;
ifstream in(sourceF);
ofstream out(destF);
if(in.bad())
{
cout<<"Error in opening file....";
exit (1);
}
in.get(ch);
while(in.eof()==0)
{
No comments:
Post a Comment