update the board.h to support in cpp.
update to support in cpp.