/generate-cp-template

Generate a C++ Competitive Programming template.

Primary LanguageC++MIT LicenseMIT

Generate C++ Competitive Programming Template

Generates a C++ Competitive Programming Template File.

something

Clone

git clone "https://github.com/CSjianbel/generate-cp-template.git"

Compilation

cd generate-cp-template

make

Setup

Ideally the compiled executable must be added onto your PATH.
Therefore you will have access to the executable globally in your system.

Linux Setup

  • Create a bin/ directory in your root directory (~)
  • Create another directory within the bin directory
  • Open gcpt.cpp and set the tempFile variable to your desired path to the template.cpp file and Makefile
  • Copy the compiled executable and the templates folder inside the directory you created
  • Add the directory to your PATH

Usage

./gcpt [outfile_path.cpp]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

A Project by Jiankarlo A. Belarmino