Page 1 of 1

fstream?

Posted: Sun Oct 06, 2002 6:43 pm
by gtsphere
would anyone know if fstream (or anything similiar) is system independent?

i'm trying it right now, i'm guessing it is.

anyone have any experience reading from files?
thanks in advance!

Re:fstream?

Posted: Mon Oct 07, 2002 12:19 am
by Pype.Clicker
the fopen/fclose/fread/fwrite functions in C basically works on a similar way in any OS i know (because OS providers put some efforts in implementing it according to the standardized ANSI LibC),
but their code is usually OS-specific (i.e. don't expect linux/src/libc/fstream.c to work under any other OS without explicit porting)