GitHub - sharkdp/minicpp: A REPL-style development environment for small C++ sni...
source link: https://github.com/sharkdp/minicpp
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBranch: master Go to file
CodeREADME.md
minicpp
A REPL-style "development environment" for small C++ snippets. For cases where an online compiler is out of the question.
(the example uses the dbg(…)
macro
which is included in minicpp
)
How to
- Start the watcher that recompiles and runs the snippet:
./run
- Edit
main.cpp
. Save the file to trigger a new compile-and-run cycle.
Restart
If you want to start from scratch, you can call
./reset
Install
Make sure that inotifywait
is installed. It should be available
for most Linux distributions (the package is typically called inotify-tools
).
Apart from that, you just need to clone the repository:
git clone --recursive https://github.com/sharkdp/minicpp
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK