The articles themselves use only C code, not C++ code. And it's very simple C, just a few structures, functions, and simple mathematical operations. It's almost trivial to translate it to Pascal. If I can do it, so can you (or any Pascal programmer for that matter, given that my programming skills are at the wrong end of the bell curve).