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.

README.md 1.2 KiB

4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Overview
  2. This is a fork of RinRi's <a href="https://github.com/RinRi-D/cpsrc">cpsrc</a>, but made to be compatible with Debian based Operating Systems, and use Visual Studio Code instead of neovim.
  3. It also has a couple tweaks, such as custom directories, better dpendency compatibility, and custom program names.
  4. # Installation
  5. Clone the repository and make setup.sh executable and run it:
  6. ```shell
  7. git clone https://git.rinri-d.xyz/rinri/cpsrc.git
  8. cd cpsrc
  9. chmod +x setup.sh
  10. ./setup.sh
  11. ```
  12. First, you are given the choise to enter your custom directory, for example,
  13. ```
  14. Enter custom directory for code? [y/N] y
  15. Enter directory for files:
  16. /home/user/Code
  17. Set directory as /home/user/Code
  18. ```
  19. and your files will be unpacked in /home/user/Code!
  20. Next, you can create your own template. This doesnt support pre-selected lines, since it doesn't work on VIM!
  21. # Usage
  22. In order to create a new .cpp file, you have to run create.sh with filename argument without an extension:
  23. ```shell
  24. ./create.sh 1234a
  25. ```
  26. You will be automatically redirected to VSCode.
  27. To compile&run file, you can just use run.sh with filename, (also without extension)
  28. ```shell
  29. ./run.sh 1234a
  30. ```