view bin/runcpp @ 7771:cb5e70259977

<Moon__> fetch http://pastebin.com/raw/BGTV9E93
author HackBot
date Thu, 05 May 2016 02:31:13 +0000
parents 7f957c1f4661
children
line wrap: on
line source

#!/bin/bash
sed s:\\n:\n:g >/tmp/in.cpp <<<"$@"; g++ -o /tmp/a.out /tmp/in.cpp; /tmp/a.out