I guess quite a few compiler do offer some wrapper or the like around the mentioned
command. Here's an example
#include
#include
#include
_CPUID cpuinfo;
int main(void) {
_cpuid(&cpuinfo);
printf("Vendor: %s\n", cpuinfo.Vendor);
return 0;
}
Output:
Vendor: GenuineIntel