Here you will find two projects: LZW-compressor and a KNN Classifier, both made in C++.
For the LZW compressor/decompressor, in the root folder run the command: g++ -Wall main.cpp -o main && ./main
Note: you can change the file to compress/decompress on the encoder.cpp/decoder.cpp files
For the KNN classifier, on the root folder run the command: g++ -Wall main.cpp -o main && ./main