When I created my project / workspace in Visual C++ 6, it automatically created this file:
All it had in it was this:
VC also automatically created my project's .cpp file and at the top it had:// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#if !defined(AFX_STDAFX_H__DC3CC640_9ABC_42A1_9B37_1C9 3035F4806__INCLUDED_)
#define AFX_STDAFX_H__DC3CC640_9ABC_42A1_9B37_1C93035F4806 __INCLUDED_
#if _MSC_VER > 1000
#endif // _MSC_VER > 1000
// TODO: reference additional headers your program requires here
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__DC3CC640_9ABC_42A1_9B37_1C9 3035F4806__INCLUDED_)
Yes, with quotes instead of <>.
Anyway, I put all my #include statements in my project's .cpp file and commented out the include line. Also, under project / settings I changed the option "Precompiled Headers" on the C++ tab to "Not using Precompiled Headers" and everything worked fine.
So is this precompiled header thing really necessary? Or, what is / isn't the benefit of having one?