I noticed that the same questions are often encountered, albeit under different names - for example, about the unread buffer and the \n character remaining in it. In this case, some in the openers use ignore , others - reading on the character before \n . Those. everyone has their own favorite way.

Once again I read from Sutter how to make an assignment operator through an exchange function.

Well, i.e. there are some standard preparations, idioms, how to do this or that frequently occurring action, and on which a beginner has to wrestle with his head and reinvent the wheel.

Maybe I am talking nonsense, but, in my opinion, every professional has his own set of these blanks - maybe share in the answers? There will be something to learn.

If you wrote nonsense - sorry.

Closed due to the fact that the issue is too general for the participants Grundy , Vlad from Moscow , Nofate 26 Jan '17 at 11:01 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • In programming, every two out of three people consider themselves professionals. :) Only they usually have nothing to say.%) - Vlad from Moscow
  • one
    @VladfromMoscow Well, you can always not use unsuccessful idioms? By the way, I already drew away for you - the use of a tie when comparing. I did not know before. - Mikhailo
  • one
    And I'm not a professional. I am unemployed. :) - Vlad from Moscow
  • And by the way, if there is a list of references, would it be true, then, so to speak, not to? - Harry
  • @VladfromMoscow, which is not surprising if you look through your profile on the Internet. - 0andriy

0