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!
fstream?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:fstream?
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)
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)