Mercurial > repo
view bin/runcpp @ 4420:9f0ff8ae5b8c
<kmc> cd lib && ln -s c++decl cdecl
author | HackBot |
---|---|
date | Sun, 09 Feb 2014 02:01:11 +0000 |
parents | 9bd7a48e95a5 |
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