Reputation: 30058
I've successfully installed M$ VC2010 and start writing simple programs using it.
I am very annoyed from the #include<stdafx.h>
, So is there any way to compile and run programs without it???
Upvotes: 5
Views: 5277
Reputation: 1278
You can also turn off precompiled headers per file.
Setting this in VS Express C++ 2012 is as follows:
Cheers
Upvotes: 6
Reputation: 7395
When you create your project, create an empty project.
For now, you can disable it in Project Settings.
Upvotes: 2
Reputation: 6052
Of course, just go to Project Settings, C/C++ → Precompiled Headers, and choose "Not Using Precompiled Headers".
BTW: On large projects using precompiled headers may significantly decrease build time.
Upvotes: 4
Reputation: 35450
Goto Project Settings->Precompiled Headers.
Select Not using precompiled headers.
Upvotes: 6
Reputation: 9003
It's for pre-compiled headers. Don't use pre-compiled headers, don't include it.
Upvotes: 10