add 0044.cpp and 0045.cpp