add getlines.cpp for debug some project