Full threadjf·If you're too lazy to compile it yourself, you can run the code online: http://ideone.com/QKQG6View on HN