Convert help.c to C++