precompiled headers - how to get rid of them

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

yo,

i have a simple hello world win32 console application. it should work but
there is an error. here is the most important part of the error:

have you forgotten to add #include <stdfx.h> to your source code?

stdfx.h is a precompiled header and i have deleted it but vc++ still asks me
to include it. how do i change the precompiled header setting?
 
Alvo von Cossel I said:
stdfx.h is a precompiled header and i have deleted it but vc++ still asks
me
to include it. how do i change the precompiled header setting?

Choose Properties from the Project menu item. Open up the C++ 'folder'.
Select the 'Precompiled Headers' item beneath it. In the first of the three
combo boxes to the right select 'Not Using Precompiled Headers'.

Regards,
Will
 
Back
Top