A question from help I was getting on page https://bytes.com/topic/c/answers/974514-what-minimum-requirements-all-17-planes-unicode-c#post3829190
There is a lot on that page, so I separated this into a new question.
Previous:
I get the following error if I do not split up the next two lines
error: invalid operands of types 'const char*' and 'const char [23]' to binary 'operator+'
With error:
Without error:
I have been trying to understand this.
What is it saying that I need to do?
Help please.
Thank you.
There is a lot on that page, so I separated this into a new question.
Previous:
Code:
string tempString = "";
string stringByte;
string words;
for (char& _char : words) {
numToString = to_string (i);;
stringByte = bitset<8>(_char).to_string();
// etc.
error: invalid operands of types 'const char*' and 'const char [23]' to binary 'operator+'
With error:
Code:
tempString = "\n [" + _char + "]=<Combined_1 PLANE 0>" + stringByte;
Without error:
Code:
tempString = "\n [" + _char;
tempString = tempString + "]=<Combined_1 PLANE 0>" + stringByte;
I have been trying to understand this.
What is it saying that I need to do?
Help please.
Thank you.
Comment