view bin/runcpp @ 8580:216a34ca700c

<shachaf> makelist idealist
author HackBot
date Thu, 23 Jun 2016 09:42:23 +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