CPP Version and std::string

Stuck? We'll be happy to help!
Post Reply
sutt
Posts: 1
Joined: Tue Jul 07, 2020 7:55 am

CPP Version and std::string

Post by sutt » Tue Jul 07, 2020 8:05 am

Hi Controllino-Forum,

I'm new to the Controllino but very familiar with Arduino, NodeMCU, ESP, C and CPP.

I'm telling this - not to brag :D - but to inform you that I have already written a bunch of libs, classes and codes that are all compiling and running fine on other platforms.

Now I got my hands on a Controllino MAXI Automation, to enhance some of my stuff, and therefore wanted to reuse my libraries. Now the compiler is stuck and claims he does not know about

Code: Select all

#include <string>
or

Code: Select all

using std::string;
My guess is this relates to the C++-Version used for compiling code for the Controllino or am I missing something else?

I know there is a lib String (captial S) by Arduino, but a) memory issues and b) all my libs are already programmed using string :/


I hope you guys have some input.

Thank you very much!
Soeren

User avatar
Lukas
Posts: 75
Joined: Tue Dec 18, 2018 3:44 pm

Re: CPP Version and std::string

Post by Lukas » Mon Aug 10, 2020 12:18 pm

Hi Soeren,

do you complain to Arduino IDE or CONTROLLINO? :)

Or in other words - is it possible to compile your code for a board Arduino Mega ?

Thanks,
Best regards,
Lukas

Post Reply