This repository has been archived on 2022-01-12. You can view files and clone it, but cannot push or open issues or pull requests.
Quickpp/README.md

24 lines
612 B
Markdown
Raw Normal View History

2020-07-30 14:53:46 +00:00
# Quickpp
2020-07-30 15:01:22 +00:00
2020-08-20 17:41:07 +00:00
### Quickly fire up a disposable C++ editor, compiler, and debugger! GNU Nano, GCC, and GDB included!
2020-07-30 15:01:22 +00:00
## Usage
It's as easy as:
```sh
2020-07-30 15:23:07 +00:00
docker run --rm -it ta180m/quickpp
2020-07-30 15:01:22 +00:00
```
2020-07-30 15:06:48 +00:00
2020-08-20 17:41:07 +00:00
By default it uses Arch, but if you prefer Alpine:
2020-07-30 15:06:48 +00:00
```sh
2020-07-30 15:23:07 +00:00
docker run --rm -it ta180m/quickpp:alpine
2020-07-30 15:06:48 +00:00
```
2020-08-20 17:41:07 +00:00
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.