view bin/runcpp @ 9201:7c865a513abf

<shachaf> slwd certainly//s#at least it#it certainly#
author HackBot
date Sun, 09 Oct 2016 01:09:50 +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