Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   [READ THIS] i need help; please!!!!! (http://www.go4expert.com/forums/read-i-help-t22622/)

m_t_h 3Jul2010 01:03

[READ THIS] i need help; please!!!!!
hi everybody can anywho tell me what i did wrong:

ook my problem. you see when you create new project bla bla bla and then you have some sheet in header files and source files. i deleted all and created new there was somethink called: stdafx.h . i delted that too now, when i want to debug i get 1 error. called: did you forget to add "#inc... "STDAFX.h" to your source! but i delted that! wtf?

How to fix that? somebody told me that:
check your precompiled settings

but where to do that?????
THANKS!!! I REALLY need your help!:cryin:

m_t_h 3Jul2010 01:04

Re: [READ THIS] i need help; please!!!!!
ow yea, srry for duble post, i was creating .dll

xpi0t0s 3Jul2010 13:37

Re: [READ THIS] i need help; please!!!!!
Visual Studio uses something called precompiled headers. It speeds up compiling time. To use it you have to (a) ensure using precompiled headers is switched on and (b) include stdafx.h. If you don't want to use precompiled headers then (a) switch precompiled headers off *AND* (b) delete the #include.

To switch precompiled headers off go to the Project menu, select Properties, in the left pane expand Configuration Properties then C/C++, then select Precompiled Headers. In the right pane change Create/Use Precompiled Headers to Not Using Precompiled Headers.

But by the sounds of it you don't know enough to know that you don't need it. Leave it on and stop deleting the include stdafx.h.

All times are GMT +5.5. The time now is 21:14.