LPC Algorithm in a C++ Environment