Thread: how do I make visual studio 2003 compile?

  1. #1
    Registered User
    Join Date
    May 2006

    Question how do I make visual studio 2003 compile?

    It's been answered to me before, and I had the answer written down on WordPad until my computer's memory was wiped out. Also I haven't used the information in a while so I forgot the answer.

    The question is this-when I am using Visual Studio 2003 to compile something in C or C++, how do I get it to stop saying "unexpected end of file while looking for precompiled header directive"? I know I need to turn off a setting that makes the compiler look for those directives, but I don't know how to get to the thing that lets me turn it off. Thanks ahead of time to anyone who answers this question.

  2. #2
    Registered User
    Join Date
    Jan 2005
    The setting is in the project properties, under C/C++->Precompiled Headers.

    When you create a new project, switch to the Application Settings tab and check the empty project checkbox so that precompiled headers will be turned off from the start.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console Font Size
    By bradszy in forum Windows Programming
    Replies: 34
    Last Post: 04-26-2008, 07:09 AM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  3. visual studio 2003 academic...
    By revelation437 in forum Tech Board
    Replies: 4
    Last Post: 01-01-2004, 08:29 PM
  4. Erros in Utility Header File
    By silk.odyssey in forum C++ Programming
    Replies: 4
    Last Post: 12-22-2003, 06:17 AM
  5. How can I compile C or C++ with Visual Studio .NET?
    By Dakkon in forum C Programming
    Replies: 8
    Last Post: 02-11-2003, 02:58 PM