title: What is the proper way to work with files in C++?
body: <p>I'm studying C++, now I'm reading about working with files. As I have read, there is quite a lot of variants. So I wanna ask, what is the right way to work with files in C++? Using <strong>fstream(ifstream and ofstream)</strong>? I have read some opinions that fopen works much faster, so it is better to use it, but it will be no C++.
  Thanks for attention! </p>