Arduino, C++ error

Asked 2 years ago, Updated 2 years ago, 78 views

I don't know if it's because I didn't learn C++, so I get this error.

Help me (Crying)

arduino c++

2022-09-22 11:02

2 Answers

I can't see the handwriting, so could you attach it with a code??


2022-09-22 11:02

The string is also an array, so you can use a third-order array Under the assumption that only string literals are used, it would be better to use a pointer.

char const* hours[][2] = {"day", "i"}, {"sam", "sa"}};


2022-09-22 11:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.