https://github.com/ztl-uwu/run-oi-code
Shell for compiling OI codes for https://github.com/formulahendry/vscode-code-runner.
https://github.com/ztl-uwu/run-oi-code
code-runner oi
Last synced: about 2 months ago
JSON representation
Shell for compiling OI codes for https://github.com/formulahendry/vscode-code-runner.
- Host: GitHub
- URL: https://github.com/ztl-uwu/run-oi-code
- Owner: ZTL-UwU
- License: mit
- Created: 2020-09-27T05:34:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T02:01:32.000Z (over 4 years ago)
- Last Synced: 2025-02-03T21:36:46.915Z (3 months ago)
- Topics: code-runner, oi
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Run OI Code
Shell for compiling OI codes for [vscode-code-runner](https://github.com/formulahendry/vscode-code-runner).
Screen Shot:

## Dependencies
1. CppCheck
```shell
sudo apt install cppcheck
```1. Clang++ / G++
```shell
sudo apt install build-essential llvm clang
```Full steps:
```shell
sudo apt install cppcheck build-essential llvm clang
```## Deployment
1. Open vscode settings(Json)
1. Put [cpp-compact.sh](./cpp-compact.sh) in
```json
"code-runner.executorMap": {
"cpp": ,
}
```## Usage
Press `Ctrl + Alt + N` to run code.
## Tweaks
1. Compiler
If you don't want LLVM Clang++ as your compiler, you can change all `clang++` into `g++`.
1. Compile options
You can change compile options as well as CppCheck options as you like.