new file:   cpp/candy.cpp