Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CtoAlgo 📔

A simple bash script to convert C code to Algorithm-ish format

Installation

sudo apt install clang-format
git clone https://github.com/Roshan-R/ctoalgo.git
cd ctoalgo
chmod +x ./ctoalgo.sh
sudo cp ctoalgo.sh /usr/bin/ctoalgo 

Using

ctoalgo example.c

prints converted code to STDOUT

for saving to a file, use output redirection

ctoalgo example.c > output.txt

Screenshots

Standard C code

Screenshot_1

After Converting it

Screenshot_2

Contributing

Contributions are always welcome, feel free to do so!

About

A simple bash script to convert C code to an Algorithm-ish format

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages