cling is a C++ repl. Imagine irb but for C++.
10K+
cling is a C++ repl. Imagine irb but for C++.
After docker pull gpavlidi/cling, these 2 aliases in a bash_profile might come in handy:
alias cling='docker run -it --rm gpavlidi/cling -Wc++11-extensions -std=c++11 -liostream -lvector -lstring -lunordered_map -lqueue -lstack -lalgorithm'
alias clingx="xhost + $(dinghy ip) && ip=$(ifconfig vboxnet0 | grep inet | awk '$1=="inet" {print $2}') docker run -it --rm -e DISPLAY=${ip}:0 -v /tmp/.X11-unix:/tmp/.X11-unix gpavlidi/cling -Wc++11-extensions -std=c++11 -liostream -lvector -lstring -lunordered_map -lqueue -lstack -lalgorithm"
Content type
Image
Digest
Size
216.2 MB
Last updated
almost 10 years ago
docker pull gpavlidi/cling