String Variable

Hi guy!

How do I make Variable type string

Hello gritsoonjun

Take a view here to gain the knowledge:

Have a nice day and enjoy coding in C++.

Im new I don't know any thing I can do only Swift Python I cant do too

Can it
Change int to str

You might take a view into IDE examples to run string tutorials too.

OK Sir

But I don't understand code meaning

Do you know what the term learning means and how to make sense of it?

Be aware that incorrect use of String (capital S) on microcontrollers can be dangerous due to the limited amount of memory. Your Uno or whatever is not a PC with near unlimited memory (real or virtual). You're often better of using null-terminated character arrays (also know as c-strings).

So how do you do it in Swift Python? And give an example of what you do not understand.

String in c++ is just as the same in any other programming language, i think you are overreacting when you ask this.

You're new here, aren't you?

@anon56112670

Please be more descriptive. Because basically @coveyjorjet's comment is correct. If you don't agree with his/her statement, explain why.

Or simply add the warning that the use of String can be dangerous if used incorrectly.

Hello coveyjorjet

Take a view here to gain the knowledge about Arduino Strings:

The Evils of Arduino Strings | Majenko's Hardware Hacking Blog

Ok.
"You're very new here, aren't you?"

Avoid using Strings with Arduino.

I still have no idea which message you're trying to convey.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.