kurumishka / contest-init

Utility to initialize the contest folder with .cpp files by template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contest-init

Simple utility to initialize the contest folder with .cpp files by some template. Probably will work on windows, as it's using unistd, but i don't actually care.

Compile

$ gcc -O3 init.c -o init

Usage

If the template/init.cpp dir is subdirectory of a current directory:

$ init div2.123 A B C D E

If you want to use the custom template:

$ init div2.123 A B C D E --custom-dir=/home/user/temp/custom.cpp

As the result you will get the subdirectory div2.123 with A.cpp-E.cpp files, which will be basically the copies of your template.

About

Utility to initialize the contest folder with .cpp files by template.

License:MIT License


Languages

Language:C 93.2%Language:C++ 6.8%