Darren wrote:
I just want do some console C++ programs. Do I still need this wield
header"stdafx.h"? Thanks
The C++ standard knows nothing about stdafx.h. This is a vendor
specific extension you'll need to talk to vendor based news groups about.
I usually turn off "pre-compiled headers" and remove the include for
stdafx.h as they have caused more trouble than they are worth. (IMHO).
Standard C++ knows nothing about "Console" applications, they are all
the same.
If it is a standard C++ compiler, you don't need to include anything.
e.g.
-----------------------------
int main()
{
}
-----------------------------
Should compile and run. (won't do much)