Linking error using Arduino library with c++'s stringstream

前端 未结 1 1969
再見小時候
再見小時候 2021-01-23 14:43

I am using an esp8266 together with platformio to write a simple sketch.

#include 
#include 

s         


        
相关标签:
1条回答
  • 2021-01-23 15:07

    As far as I know, you cannot easily include sstream in your project nor most other C++ libraries.

    Arduino has his own libraries, I advice you to take a closer look to the String documentation as it might already provide the functionality you need in your project.

    There are some C++ library ports out there for Arduino, including a StringStream port that --theoretically speaking-- you could use.

    There are also ports of C libraries, but I honestly don't know what is the state of advancement/reliability of these libraries.

    0 讨论(0)
提交回复
热议问题