Some C++ codes for DSP