stm32cubeide tocunhgfx main.c and main.cpp
I searched and saw others had this problem but for the life of me, I can't figure out how to see the answers to the questions when I search? I hit every button and arrow but nothing show the answers.
Setting that aside, I need to include .hpp files into my main.c file. I changed it to main.cpp and I see now that there is another main.c file in the touchgfx generated code that looks nothing like mine (in a different directory). Also, I see that even though I changed the name to main.cpp, the file is still main.c on the disk? So when I compile the code, it treats it like main.c and errors all the class statements, etc (c++ functions).
So:
1) why can't I see question answers
2) why can't I change the name of the main.c file to main.cpp or is there another copy kept in the IDE workspace? I can't find it when I search 'files'.
3) I cant change the .hpp files to .h out of the quesiton.
Thanks
