Home > Back-end >  Questions about the structure for help
Questions about the structure for help

Time:02-10


[img=https://img-Why the same structure of the first two statement is right, the third time is a problem, what is the difference between structure and common variables

CodePudding user response:

Should be allowed, stick the specific error

CodePudding user response:

The same name in the same scope cannot define two variables of the same name Suggestions to learn c + + scope related knowledge

CodePudding user response:

I understand mz t={x3, y3} is initialized, t={x3, y3} is assignment, initialized only once,
  • Related