title: How do I fix unexpected end of file error with pch.h
body: <p>So I have been trying to learn cpp and I was writing a program, and when I try to build the solution, it gives an error saying </p>
  
  <blockquote>
    <p>unexpected end of file while looking for precompiled header. Did you forget to add #include "pch.h" to your source?</p>
  </blockquote>
  
  <p>Then I included it and I got the same error, and also another saying </p>
  
  <blockquote>
    <p>cannot open source file pch.h</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/nTamQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nTamQ.png" alt="screenshot"></a></p>