ganesh_IT wrote:
using namespace std;int main(){ fstream file("file path", ios_base::binary | ios_base::in); char buf[] = "BinaryFile"; file.write(buf, sizeof(buf)); file.close();}
if file exist, it will over right it.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture
cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You