in default situation, you could not call c++ function in C file.
So the main.c is not suitable file in C++ project.
if user choose C++ project,the generated main.c ,stm32h7xx_it.c should sufixed with .cpp.
let me clarify my questions again.i want to develope with C++. and STM32cubeide has the option to use c++ as major user developing language.user's c++ code will mixed with c in main.c and stm32f3xx_it.c. but this want work unless main.c and stm32f...