view bin/runcpp @ 11460:fbf363ff0402

<shachaf> swrjan s/punster/hero/
author HackBot
date Fri, 16 Mar 2018 21:47:17 +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