fstream?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
gtsphere

fstream?

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

Re:fstream?

Post 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)
Post Reply