Answered by:
where can i find stdafx.h ?

Question
-
Where can i find stdafx.h ?
- Changed type Elegentin Xie Monday, March 25, 2013 11:35 AM
Friday, March 22, 2013 5:33 PM
Answers
-
Thank You for answer
An empty project does not have any files, so it doesn't have (or need) an stdafx.h.
How can i run it in CLR Empty Project ?
If you want to use pre-compiled headers, you are much better to use one of the pre-configured project templates that actually creates a project.
David Wilkinson | Visual C++ MVP- Marked as answer by Elegentin Xie Friday, March 29, 2013 8:05 AM
Friday, March 22, 2013 8:58 PM
All replies
-
where can i find "stdafx.h"?
- Merged by Elegentin Xie Monday, March 25, 2013 11:37 AM same question
Friday, March 22, 2013 5:38 PM -
Usually with your other source files. It is normally created by Visual STudio when you start a new project.Friday, March 22, 2013 5:41 PM
-
Where can i find stdafx.h ?
In any project created by VC++ using one of the project
templates, such as Win32 Console Application, etc. It
is created automatically for precompiled headers.
Precompiled Header Files
http://msdn.microsoft.com/en-us/library/h552b3ca.aspx
- Wayne
Note: This is a duplicate thread - it should be merged with
where can i find "stdafx.h" ?
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/ac2a783e-af4b-43ff-b3e7-9ddeb1777d8d- Proposed as answer by Elegentin Xie Friday, March 29, 2013 8:05 AM
Friday, March 22, 2013 8:09 PM -
Thank You for answer
How can i run it in CLR Empty Project ?
Friday, March 22, 2013 8:50 PM -
Thank You for answer
An empty project does not have any files, so it doesn't have (or need) an stdafx.h.
How can i run it in CLR Empty Project ?
If you want to use pre-compiled headers, you are much better to use one of the pre-configured project templates that actually creates a project.
David Wilkinson | Visual C++ MVP- Marked as answer by Elegentin Xie Friday, March 29, 2013 8:05 AM
Friday, March 22, 2013 8:58 PM -
Hi,
Welcome here.
Here you asked the same question:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/db2b28f5-1a36-4cc1-bd54-efc89c714de6So I will merge this one to the original and I have changed the type of the post to "Question".
Thanks for your understanding.
Regards,
Elegentin Xie
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Edited by Elegentin Xie Monday, March 25, 2013 11:39 AM
Monday, March 25, 2013 11:38 AM