Haha... I think it's simple, but why isn't it working?

Asked 2 years ago, Updated 2 years ago, 24 views

I'm determined to learn C++, but as in the book example, at least this error appears<

c++

2022-09-21 18:14

1 Answers

The string is a constant.

That is to say, const char*.

Or

char pt* = (char*)vision;

I'll change the shape like this.


2022-09-21 18:14

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.