C++ Pitfall prevention Cheatsheet

I posted this also on my “old” blog. Please be good in judging it, I did it for a C++ course in Espoo. C++ Cheatsheet

Edit: One thing not discussed in the cheatsheet, but at least from my point of view a error-prone area is the const-modifier. I found a good explanation about it and its various uses and meanings here.

  • Ross

    Typographically speaking, each of the apostrophes that you are using are backwards. You’re using an ‘opening quote mark’ instead of a ‘closing quote mark’.

    I may be one of the only 100 people in the world that would be bothered by it, but the sheet is so good otherwise that I’d be amiss not to mention it.

  • momo

    corrected. thank you!