C++ code snippet for a new baby greeting card

c++

Solution

The correct reply is:

Sleep(0);

Problem

A friend of mine sent me this code snippet to celebrate his new baby birth: ``` void new_baby_name() { father_surname++; } ``` The snippet is from his point of view, he is the father and the new baby get the surname from him. I answered with this: ``` class father_name {}; class mother_name {}; class new_baby_name: public father_name, public mother_name {}; ``` But I'm not fully satisfied of my answer...

Original source