Home > Precompiled Header > Error C1010 Unexpected End Of File While Looking

Error C1010 Unexpected End Of File While Looking

Contents

Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies How to automatically run a command after exiting ssh Can 'it' be used to refer to a person? Find your .cxx file in the solution tree, right click on it and choose "Properties" from the popup menu. Select the C++ options. Check This Out

D.K.Kundu\My Documents\Visual Studio 2008\Projects\constructor\Debug\constructor.exe : fatal error LNK1169: one or more multiply defined symbols found" 09-23-2008 #7 CornedBee View Profile View Forum Posts Visit Homepage Cat without Hat Join Date Apr Sep 22, 2008 at 2:18pm UTC paushali (3) I disabled the precompiled header option and then tried to run the program.But I got the following errors: 1."stdafx.obj : error LNK2005: "public: Regression when the dependent variable is between 0 and 1 My adviser wants to use my code for a spin-off, but I want to use it for my own company Problems Why are so many metros underground? http://stackoverflow.com/questions/8862840/unexpected-end-of-file-error

Unexpected End Of File While Looking For Precompiled Header Stdafx H

Here is something maybe the users should be aware: suppose you create a simple Windows app (console app) and include the Markup unit. Did you forget to add '#include "stdafx.h"' Rick Blacker Mon, 02/03/2014 - 21:58 Hi all... share|improve this answer answered Apr 22 '14 at 2:26 Zahid19 3818 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Only more errors cropped up.

Forum Today's Posts C and C++ FAQ Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New? up vote 0 down vote favorite 1 I have a project, originally developed on Microsoft Visual C++ . Select none. C++ Unexpected End Of File Found Sunday, March 26, 2006 3:59 PM Reply | Quote Moderator 1 Sign in to vote Produced from the idl file?

What should I do? Usually #include "stdafx.h" must be placed into your cpp file. It worked Tuesday, April 22, 2014 9:47 AM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. http://stackoverflow.com/questions/28459682/error-c1010-unexpected-end-of-file-while-looking-for-precompiled-header-did-yo This time make sure you make it an empty Win32 console program.

Choose precompiled Headers. What Are Precompiled Headers It was set to C/C++ Compiler instead of the correct C/C++ header. Don't forget to do this for all solution configurations. Not the answer you're looking for?

Unexpected End Of File While Looking For Precompiled Header Directive Vc6

In the right pane, click Create/Use Precompiled Header, and then click Not Using Precompiled Headers. https://support.microsoft.com/en-us/kb/815644 I'm using visual studio 6.0. Unexpected End Of File While Looking For Precompiled Header Stdafx H And either move the .h file or use the compiler's Additional Include Directories setting. –Hans Passant Feb 11 '15 at 17:05 add a comment| 1 Answer 1 active oldest votes up Fatal Error C1004 Unexpected End-of-file Found Visual Studio Did you forget to add '#include "stdafx.h"' VS2013 : error C1010: unexpected end of file while looking for precompiled header.

Questions, comments? his comment is here Not the answer you're looking for? Did you forget to add '#include “stdafx.h”' to your source? You'll have to add the .cpp yourself. Turn Off Precompiled Headers Visual Studio 2015

Sep 22, 2008 at 1:52pm UTC paushali (3) Hello!I tried out a program on constructors in VC++ 2008 Express Edition and Turbo C++.On compilation both of them showed 0 errors and Why are so many metros underground? Thanks! this contact form more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Martin,           Now i got after setting the precompiled headers off.               It is in Project-> Settings->C/C++->Category->Precompiled headers->not using precompiled headers. Visual Studio Turn Off Precompiled Headers In .cpp file the statement #include is the first statement. Did you forget to add '#include "stdafx.h"' to your source?

So, I did some research on this and ran into this Microsoft article:http://msdn.microsoft.com/en-us/library/d7fz9ckx.aspx I tried both of those suggestions and again, a total mess of errors.   Any help will be

Did you forget to add '#include "stdafx.h"' to your source?" I don't believe I need a header file to run this code. Click on properties. Exiting." << endl; } return 0; } The error reads: "wordcount.cpp(57) : fatal error C1010: unexpected end of file while looking for precompiled header. Fatal Error C1083: Cannot Open Precompiled Header File EDIT: Oh, wait.

Again, for other readers, here are the steps for turning off precompiled headers for Markup.cpp: In Visual Studio 6.0 (VC6) you go to Project Settings, select Markup.cpp in the tree on How can I list two concurrent careers, one full time and one freelance, on a CV? Don't forget to remove the include. http://oncarecrm.com/precompiled-header/error-c1010-unexpected-end-of.html xxx.pch is not a valid precompiled header file0Why does this code generate the compiler error C2227?2Possible to generate hpp or h file automatically?0Cannot Solve “unexpected end-of-file found” Error Hot Network Questions

My math students consider me a harsh grader. Why is the TIE fighter tethered in Force Awakens? when I included the stdafx.h it shows 3 erros where as 1 before. Log in to post comments David Lu (Intel) Tue, 02/04/2014 - 12:26 Try to create the empty project and following this link(http://software.intel.com/sites/landingpage/perceptual_computing/documen...) to set the development environment.

Might that be it? –user1800967 Nov 21 '13 at 5:42 if a compiler warns about a header you never heard of - google the header and find out what You defined your project to use precompiled header files. Anyway, I created the source code, tried to compile, I then get the error error C1010: unexpected end of file while looking for precompiled header. Browse other questions tagged c++ visual-studio-2008 visual-c++ compiler-errors precompiled-headers or ask your own question.

It is added automatically when you create projects with installed templates. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. All rights reserved.