Блог пользователя CoFo_admin

Автор CoFo_admin, 4 года назад, По-английски

I create a little tool for c++ coding in bash for practice.

Use sudo for executing cofo temp (*** sudo cofo temp ***)

you should allow execution as a program for install.sh in ubuntu (or run this command """ sudo chmod u=rx install.sh """)

Please

Here is a toturial for installation and usage :

Download from Github Here

unzip it in a folder

and do this works :

you should allow execution as a program in ubuntu (or run this command """ sudo chmod u=rx install.sh """)

installation :

go to the directory you unzip files and run :
sudo chmod u=rx install.sh && ./install.sh

Here is some screenshot see them to know how to work with cofo :D

Here is help with command cofo

Usage: cofo [options]

sudo cofo temp : Create template from a file
cofo gen  <file1> <file2> <file3> : ... generate code from template for each file 
cofo test <filename.cpp> : tests the file <filename.cpp> on input test files : in1.txt in2.txt in3.txt ... with answers ans1.txt ans2.txt ans3.txt ...

tested on ubuntu 20.04 and linux subsystem for windows

if you can not setup it

Note : You can uninstall it fully with this command :

sudo rm /bin/LLgencofoLL /bin/LLtestcofoLL /bin/LLtempcofoLL /bin/cofo ~/.CoFo/ -r  
  • Проголосовать: нравится
  • +27
  • Проголосовать: не нравится