PlatformIO Community

#include <cstdlib> and others failing

I tried to add C++ standard libraries like cstdlib, iostream and others to an Arduino Nano project, but got errors instead, like

src\main.cpp:5:20: fatal error: iostream: No such file or directory
compilation terminated.

I did use these in another, ESP32-based project, so I am wondering if the libraries have not been ported to the Nano environment?

For AVR there is no standard c++ library. Maybe you try

Thanks, I was afraid that would be the reason - well, no sweat, I will code without it. :wink: