August 7th, 2013, 02:40 AM
How to write and read from a file in C
How to write and read from a file in C programming language?
Lets say i have two variables, one int and one string. What are the commands to open a file (if the file exist do not delete it but write in the end of the file), save the two variables as binary data, then close the file. After that open the file and read the two variables. (and what are the #includes if needed)
August 7th, 2013, 02:49 AM
read file operation from your book,you will get all your answers.
August 7th, 2013, 03:46 AM