View Single Post
Old 01 May 2020, 17:02   #1
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 815
Reading files and other stuff.

I am writing a small solution, mostly using it as an excuse to write something in C for the Amiga platform.

I have searched over the internet and from what I can see there are at least two approaches one can use to open a file, either use the DOS library (Open, Read, Close) or else use the STDIO library (fopen, fread, fclose).

I wrote examples using both approaches but I am interested to know; are there any reasons why to prefer one approach over the other?

Unrelated to this; are there helper functions available to just read a file till the end rather than having to write my own implementation of this? (which would probably not consider things that may be obvious to more experienced developers and therefore be ridden with bugs).
Sim085 is offline  
Page generated in 0.06231 seconds with 11 queries