I am using #include<fstream> and using file data.txt as input:
ifstream in_stream;
in_stream.open("file9.txt");
How do I output all its contents (regardless if the contents are of type int, char, float etc.) to the screen? I am assuming there is no need for an "ofstream" since I am not outputting anything to a file.