#include <windows.h>
unsigned int getCPUcount(void)
{
SYSTEM_INFO sysinfo;
GetSystemInfo(&sysinfo);
return ((unsigned int)sysinfo.dwNumberOfProcessors);
}
#include <windows.h>
unsigned int getCPUcount(void)
{
SYSTEM_INFO sysinfo;
GetSystemInfo(&sysinfo);
return ((unsigned int)sysinfo.dwNumberOfProcessors);
}