VC编译错误集-共2个

 1. error C2065: '_beginthreadex' : undeclared identifier

   Reason:    Because you use mutiple thread program such as _beginthreadex(),

   Solution: Project->Settings->click C/C++ tab->Category->Code Generation->User run-time lib->Mutiple Threads

2.error LNK2001: unresolved external symbol _WinMain@16

   Reason: You use the main() as your entrance point ,but you use window appliation proprcessor;

   Solution: 1)project->setting->c/c++->category->preprocessor,in processor definitions replace _Windows with Console 2)project->setting->Link, in Project options replace /subsystem: windows with /subsystem:console.

你可能感兴趣的:(thread,c,windows)