A fork of RinRi's CPSRC. A tool for C++ Competitive programmers to do stuff
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Madiwka4 d05d884673 Fixed readme há 4 anos
README.md Fixed readme há 4 anos
setup.sh Fork Added há 4 anos

README.md

Overview

This is a fork of RinRi’s cpsrc, but made to be compatible with Debian based Operating Systems, and use Visual Studio Code instead of neovim.

It also has a couple tweaks, such as custom directories, better dpendency compatibility, and custom program names.

Installation

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

git clone https://github.com/Madiwka4/cpsrc.git
cd cpsrc
chmod +x setup.sh
./setup.sh

First, you are given the choise to enter your custom directory, for example,

Enter custom directory for code? [y/N] y
Enter directory for files:
/home/user/Code
Set directory as /home/user/Code

and your files will be unpacked in /home/user/Code!

Next, you can create your own template. This doesnt support pre-selected lines, since it doesn’t work on VIM!

Usage

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 VSCode.

To compile&run file, you can just use run.sh with filename, (also without extension)

./run.sh 1234a