Ok, i fugured out how to create a .txt file, but what i can't figure out is how to open one. I created the text file by using fstream.

Just something simple, if that is possible, i just would like to be able to open a .txt file from a path that the user enters, and then save the contents of the text file as a string so that i can print it out with cout.

Thanks