A fork of RinRi's CPSRC. A tool for C++ Competitive programmers to do stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RinRi-D 4cdd303273 one more time 4 年之前
README.md one more time 4 年之前
setup.sh initial commit 4 年之前

README.md

Installation

Clone the repository and make setup.sh executable and run it:

git clone https://git.rinri-d.xyz/rinri/cpsrc.git
cd cpsrc
chmod +x setup.sh
./setup.sh

First, you have to write template which will be used to create new files. Remember the number of the line with which you usually start coding. Enter it. That is it!

Using

In order to create a new .cpp file, you have to run create.sh with filename argument without an extension:

./create.sh 1234a

You will be automatically redirected to neovim.

To compile&run file, you can just use run.sh with filename(this time with extension):

./run.sh 1234a.cpp