C++ Visual Stuido 2015 Error

Intrebari despre limbajul C++, standardul C++, STL, OOP in C++ sau alte subiecte nelegate de VisualC++
Post Reply
hagi14
Junior
Junior
Posts: 1
Joined: 29 Nov 2015, 19:01
Judet: Braşov

C++ Visual Stuido 2015 Error

Post by hagi14 » 29 Nov 2015, 23:55

Severity Code Description Project File Line
Error C1010 unexpected end of file while looking for precompiled header. Did you forget to add '#include "pch.h"' to your source? App2 c:\users\victe\onedrive\documents\visual studio 2015\projects\app2\app2\source.cpp 4
Warning C4627 '#include <iostream>': skipped when looking for precompiled header use App2 c:\users\victe\onedrive\documents\visual studio 2015\projects\app2\app2\source.cpp 1



Kavarna
Junior
Junior
Posts: 11
Joined: 20 Sep 2015, 19:14
Judet: Neamţ

Re: C++ Visual Stuido 2015 Error

Post by Kavarna » 30 Nov 2015, 14:24

Cand creezi proiectul incearca sa selectezi "Empty Project"

Viorel
Microsoft MVP
Microsoft MVP
Posts: 293
Joined: 13 Jul 2007, 12:26

Re: C++ Visual Stuido 2015 Error

Post by Viorel » 30 Nov 2015, 15:58

Adaugă linia #include "pch.h" la începutul fișierului Source.cpp.

Post Reply