I usually use Code::Blocks as my primary IDE when solving algorithm problems on TopCoder, Codeforces, InfoArena or other.
So I wrote a simple bash script which will generate a new project, based on a template and open it.
- Put the
default
folder somewhere - Modify in
create.sh
, the variables for folders:
default_template_location='/home/alex/default_cpp/'
new_project_location='/home/alex/Desktop/'
- Run the script
sh create.sh new_project
- Modify the
default.cpp
, so it suits your needs. - Move
create.sh
to/usr/bin/create
, so you can run the script more simple:
create new_project