Home c++ Fatal error C1083: Unable to open precompiled header

Fatal error C1083: Unable to open precompiled header

Author

Date

Category

DebugFirst.pch: No such file or directory.

As I understand it, the program needs a file in Debug \ First.pch . I created it, but it still doesn’t compile.

// First.cpp: defines the entry point for the console application. //
#include "StdAfx.h"
int main () {cout & lt; & lt; "Hello, World! \ N";
   return 0;
}

Answer 1, authority 100%

Create an empty Console aplication, then the Empty project checkbox.


Answer 2

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions