A fork of RinRi's CPSRC. A tool for C++ Competitive programmers to do stuff
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

4 年前
4 年前
4 年前
12345678910111213141516171819202122232425262728
  1. # Installation
  2. Clone the repository and make setup.sh executable and run it:
  3. ```shell
  4. git clone https://git.rinri-d.xyz/rinri/cpsrc.git
  5. cd cpsrc
  6. chmod +x setup.sh
  7. ./setup.sh
  8. ```
  9. 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!
  10. # Using
  11. In order to create a new .cpp file, you have to run create.sh with filename argument without an extension:
  12. ```shell
  13. ./create.sh 1234a
  14. ```
  15. You will be automatically redirected to neovim.
  16. To compile&run file, you can just use run.sh with filename(this time with extension):
  17. ```shell
  18. ./run.sh 1234a.cpp
  19. ```