Untitled
public cpp v1 · immutable#include "geekinfo.h"#include <stdio.h>#include <string>int main(){ for( int i = ( int )kSystemMetricOS ; i != kSystemMetricCount ; i++ ) printf("%s: %s\n", c_str(systemMetricName((SystemMetricType)i)), c_str(systemMetric((SystemMetricType)i)) ); return 0;} /* basically geekinfo.cpp with printf */