Ninjakreborn Posted June 28, 2008 Share Posted June 28, 2008 Why is it that "Visual C++ 2008 Premiere" requires.. #include "stdafx.h" at the top of every page...but no other compiler does..in fact other compilers even throw a compile error because of it. The thing I don't get is what is it including that makes it required to run visual C++. Quote Link to comment https://forums.phpfreaks.com/topic/112298-solved-c-include-question/ Share on other sites More sharing options...
br0ken Posted June 28, 2008 Share Posted June 28, 2008 This is used by Visual Studio to increase compile time. http://en.wikipedia.org/wiki/Precompiled_header#stdafx.h Quote Link to comment https://forums.phpfreaks.com/topic/112298-solved-c-include-question/#findComment-576678 Share on other sites More sharing options...
Ninjakreborn Posted June 28, 2008 Author Share Posted June 28, 2008 "Pre-Compiled Headers"..that was the word I was looking for. Thanks..I had other similiar questions but now that I know what those are called I can answer the rest myself. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/112298-solved-c-include-question/#findComment-576873 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.