https://sqrtnull.github.io/cp-library/
- Create working folder to code in
mkdir cpp
cd cpp
- Clone this repo
git clone https://github.com/sqrtnull/cp-library.git
- Copy
Utility/include.shto working folder and changelib_pathaccordingly
cp cp-library/Utility/include.sh include.sh
- Copy
Utility/template.cppto working folder asmain.cpp
cp cp-library/Utility/template.cpp main.cpp
- Allow execution for
include.sh
chmod +x include.sh
- Try including the code of a library into
main.cpp. (don't forget to save before!)
./include.sh SegmentTree
Note: I might include my other commands sometime in the future