You can use the C++ I/O system to perform file I/O. In order to perform file I/O, you must include the header file fstream.h in your program.