I am not sure that a lot of embedded things support C++ fully. C is commonly used on many things. If it supports C++ at all, you may find some of the more exotic things to be missing on some systems.
Do you want to program in C or C++? Your title says C++, the body of your comment says C.
The Arduino IDE doesn't allow the complete C/C++ standard(s) to be used, it also includes "helper functions" that deviate from "pure" C/C++ programming.