Respuesta :

To use files in a c++ program you must include the fstream header file. There are specific codes needed to be included to let the program perform specific functions on the computer. One has to remember the correct headers that are used to run the operation you want smoothly.