Abstract
This chapter is about moving data to and from files. The basic commands of file access are fopen (which opens a file), fclose (which closes it), fread (which reads data from a file which has been opened), and fwrite (which writes data to a file which has been opened). There are one or two other file commands which we shall meet later.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Philip Joyce
About this chapter
Cite this chapter
Joyce, P. (2019). File Access. In: Numerical C. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5064-8_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5064-8_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5063-1
Online ISBN: 978-1-4842-5064-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)