I have encountered problem when trying to include fstream into one of my header classes. Visual Studio 2013 express gives my immediately this error: 
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\fstream(39): error C2065: 'EOF' : undeclared identifier 
  
At first I thought it might be a bug with VS but then I found FileSystem::ReadFile as method of reading the file. But still if for reason <input here> that I would like to use fstream, how would I do that? 
  
Do I need to rewrite every files in my project that use fstream? Not that's a problem just curious. 
  
Still not sure if this is a bug or intended.