Hi,
I am trying to copy a file using c++ library ; It works fine .But If I don't 
have enough space to copy , it copies portion of file and exits without showing 
any error or exception
 
Code looks like
 
ifstream infile(fileName);
ofstream outfile(BkpFname);  
outfile << infile.rdbuf();  //How can find failure of this statement
infile.close();
outfile.close();
 
 
Thanks,
Manoj
 
 
 


      

[Non-text portions of this message have been removed]

Reply via email to