Hello,
Apologies if this is a really basic question (I am afraid I am a really basic user!!).
I have written a program which "processes" (simple read-in write-out stuff) image files of type .ppm and .pgm.
This program runs fine on Linux (compiled with g++) but when i run it on W98 (compiling using VC++ v6) it bombs out at the first null character in the file with a failed bit status. I am reading the image file using in_file.get(character_field). Is this a VC++ quirk or is it just operating system features?
I would love a version that runs on both platforms.
Many thanks in advance.
pipk (UK)
Apologies if this is a really basic question (I am afraid I am a really basic user!!).
I have written a program which "processes" (simple read-in write-out stuff) image files of type .ppm and .pgm.
This program runs fine on Linux (compiled with g++) but when i run it on W98 (compiling using VC++ v6) it bombs out at the first null character in the file with a failed bit status. I am reading the image file using in_file.get(character_field). Is this a VC++ quirk or is it just operating system features?
I would love a version that runs on both platforms.
Many thanks in advance.
pipk (UK)