On Feb 16, 2005, at 12:29 PM, [EMAIL PROTECTED] wrote:
Hi!
Try the attached version. Then
$ g++ prog.cc $ ./a.out from.png to.png copy ok $ cmp from.png to.png $
should work. Otherwise cmp will say that the files differ.
You are still using gcc 2.95.2, no? If tellp() messes up streams I wouldn't be surprised that this program also doesn't work. (see Angus, I'm learning :-) )
Thanks, Andreas. Yes, I am using gcc 2.95.2 for lyx-13x.
It doesn't work: the result is a file of 0kB. (cmp: EOF on test.fig)
Bennett