A fork of RinRi's CPSRC. A tool for C++ Competitive programmers to do stuff
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.md 1.2 KiB

il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
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. ```