title: How do I open and display a file with any file extension in C++?
body: <p>I'm doing a program where I have to read information from a file and it can be a file with any extension.  Do you know any way in C++ to read and display the information from a file different than the .txt extension?</p>