samples/c/mushroom.cpp