Could one compare for me raw I/O (open(), read(), write(), close()) to stream I/O. Thanks!
Could one compare for me raw I/O (open(), read(), write(), close()) to stream I/O. Thanks!
What sort of comparison?
One is portable (stream I/O) the other isn't (outside of Unix type Posix compatibility). Depending on how you go about it, you may get better performance with one or the other - generally, big chunks to read/write are faster with the "raw" interface.
Note that some OS's + compilers (e.g. MS) provide functions the same as or similar to the raw interface, but this is not a RAW interface, so there will still be some overhead in that situation.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.