From 7790c5e3c7164cb2832f64f59f44a693345454b2 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 20 Aug 2020 12:41:07 -0500 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a75826a..4dad539 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Quickpp -### Quickly fire up a C++ editor, compiler, and debugger! GNU Nano, GCC, and GDB included! +### Quickly fire up a disposable C++ editor, compiler, and debugger! GNU Nano, GCC, and GDB included! ## Usage @@ -10,8 +10,14 @@ It's as easy as: docker run --rm -it ta180m/quickpp ``` -By default, it uses Arch, but if you prefer Alpine: +By default it uses Arch, but if you prefer Alpine: ```sh docker run --rm -it ta180m/quickpp:alpine ``` + +The source file is located at `main.cpp`. Compile with `g++ main.cpp -o main -g -std=c++17`. Run the executable with `./main` or debug with `gdb main`. + +You can automate the process by running `bash` in Arch or `ash` in Alpine. + +To exit, run `docker kill $(docker ps -q --filter ancestor=ta180m/quickpp )` on the host.