I want to write a cross platform program that reads x bytes from a file, then writes x bytes to a file. I know how to do this under Linux. I would simply use:
#include <unistd.h>
write()
and
read()
Is there something on the fopen family I could use? Sorry if this is a stupid question.
TIA