Home > Software engineering >  For help! Mistakes show multiple operators to match these operands
For help! Mistakes show multiple operators to match these operands

Time:11-08

A simple calculator program based on the MFC, set the + and -, respectively, set up two bool type variable, click on the - or +, the corresponding variable from FALSE to TRUE, then the digital buttons to write programs, is wrong, if the m_2=m_2 -
Instead of m_2=m_2 + mistake, there is no
Want to ask how to change, thank you!
Why always release failure

CodePudding user response:

No one bird me

CodePudding user response:

Cstrings only + operator, which is equivalent to character splicing
STR +=L "2";
STR +=L "- 2";

CodePudding user response:

Cstrings + is string concatenation directly, without - operator
After all the ABC how reduce d
I think you want to press 2 after the string plus' 2 ',
When pressing the delete to remove the last number, directly take length for the length of the string (length - 1) before
  • Related