Loaded into Eclipse CDT, fixed style & made it working.