The Sum in C++