Skip to content

PSN-01/File-Handling-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

File-Handling-C

Pablo Silva Noreña 180462

  1. "r"

Opens a file for reading. The file must exist.

  1. "w"

Creates an empty file for writing. If a file with the same name already exists, its content is erased and the file is considered as a new empty file.

  1. "a"

Appends to a file. Writing operations, append data at the end of the file. The file is created if it does not exist.

  1. "r+"

Opens a file to update both reading and writing. The file must exist.

  1. "w+"

Creates an empty file for both reading and writing.

  1. "a+"

Opens a file for reading and appending.

About

An Introduction to file handling in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages