Hi ,
I am trying to work with the example DOMPrint given in the samples
directory. The problem that I am haiving is that ... I am trying to print
out the output in a FILE insted of printing it out on the CONSOLE. I am
opening and closing the file properly but the output prints out on the
CONSOLE agian instead of printing to the FILE.
Instead of this line:- cout << doc << endl;
I am trying to write this piece of code but it prints out to the CONSOLE
instead of writing to the file :-
ofstream outputfile;
outputfile.open("/tilde/lpcoop/temp.txt",ios::out);
outputfile << doc << endl;
outputfile.close();
Please tell me what the problem is ?? If i try to write a normal string to
the outputfile like outputfile << "hello"; ...... it writes that to the
file.
Please reply back..
thank you very much.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]