How to use c++11 to program the Arduino?

前端 未结 6 1423
清酒与你
清酒与你 2020-12-04 17:43

How can I use c++11 when programming the Arduino? I would be fine using either the Arduino IDE or another environment. I am most interested in the core language

6条回答
  •  無奈伤痛
    2020-12-04 18:14

    Arduino IDE 1.6.6 and newer have C++11 enabled by default (they have the compiler flag "-std=gnu++11" set in the platform.txt file).

提交回复
热议问题