Skip to content

A REPL-style development environment for small C++ snippets

Notifications You must be signed in to change notification settings

sharkdp/minicpp

Repository files navigation

minicpp

A REPL-style "development environment" for small C++ snippets. For cases where an online compiler is out of the question.

minicpp

(the example uses the dbg(…) macro which is included in minicpp)

How to

  1. Start the watcher that recompiles and runs the snippet:
./run
  1. 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

About

A REPL-style development environment for small C++ snippets

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published