I see some C++ syntax I am not familiar with:
fftfilt *mark_filt;
.
.
.
mark_filt = new fftfilt( ... ); // I left out arguments for the constructor.
.
.
.
mark_filt = (fftfilt *)0;
.
It's an old way to represent NULL
, which is generally just a macro defined to be 0
. You should instead prefer
mark_filt = nullptr;
although I hope before then since there was a new
someone called delete mark_filt