For readandwrite fromafile youneedanother standard C++library called fstream, which defines three new data types: Datatype ofstream ifstream fstream