How do you working with files in C++? 1 April 2022 Enpatika.com Genel Files can be opened in two ways. They are: Using constructor function of the class. Using member function open of the class.