Update new.cpp

edited