Hi everyone, I was looking for a way to generate Code-128 barcodes in C++ and came across grandzebu's website. Since it has no version for C++, I translated the code there to C++ myself. At first I had trouble getting it to work (mainly because of signedness of characters in std::string which broke the checksum calculation) Because of that problem, I had decided to completely dissect the code. I noticed that the whole logic of that main-loop is pretty twisted, because it basically goes back and forth...