my beginning of using C++ on stm32f4