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 664 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
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. ```