Anonymous
public text v1 · immutable#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main()
{
printf("Uw processor ondersteund de volgende instructies:\n");
system("sysctl -n machdep | grep SSE2");
printf("Processor:\n");
system("sysctl machdep | grep brand_string | awk '{print $2 $3 $4 $5 $6 $7 $8 $9 $10}'");
printf("Processor snelheid:\n");
int proc;
proc = (FILE*)popen("sysctl -n hw.cpufrequency","r");
};