modified:   cpp/candy.cpp