doline.cpp