Why do i have to include stdafx.h everytime in visual C++ 2010 express. Evertime i make a project i have to include that damn header, whats so special about it and how can i avoid including it and still compile my program. I have tried to leave it out but it doesnt want to compile then givving an arror about forgetting to include stdafx.h.
And if you know how to compile a single source file without having to create a new project i will epreciate it.
I am using Visual Studio C++ express 2010
Oh and if you know where to get a good tutorial about making a simple server-client side TCP chat program in C++ with winsock2.h
Edited 4 Years Ago by MasterHacker110