Create a Win32 C ++ project and from the Solution Explorer, right-click your project and select "Properties" → "Configuration Properties" → "C / C ++" → "Advanced" → "Compile As →" Compile As C ". , then rename the * .cpp extensions to * .c and create your own project.
You can delete some unimportant files, such as stadfx.cpp and targetver.h (remove its link from stdafx.h).
source
share