fatal error C1083: Cannot open include file: ‘fstream.h’: No such file or directory

How I had resolved the issue?

  1. Change #include <fstream.h>  to #include <fstream>
  2. Add using namespace std;

Thanks..