view bin/runcpp @ 11302:9273695dd44e

<oerjan> undo 11279
author HackBot
date Fri, 05 Jan 2018 00:54:22 +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