Friday, December 21, 2007

c++ cheat sheet

Here’s a refresher sheet I made for C++ to remind me of a bunch of syntax details that I always seem to forget when I've switched to another programming language for too long. It's less of a complete reference and more of a "you better not hose these things during an interview". Let me know if you find it helpful or if you see any mistakes.


C++ Refresher (PDF)


(Also: what else would you add? What are the first details to erode when you haven't used a language in a while?)

7 comments:

Shane said...

It's been a while since your last post. I have to say first time I have seen those different casting methods. I'm newly graduated from college and was brought up on C and C++. Interesting to say the least. Not to often that I see different C++ language mechanics that I did not previously know.

danvk said...

Maybe placement new? Another thing I always forget is what the type of a function pointer looks like.

k0dek0mmand0 said...

Thanks for this. Just what I was looking for.

julito-power said...

Thanks for the effort. Now let's go for the STL cheet sheet, I mean Vectors, Lists, Iterators and other relatives.

Again Thanks, good job.

Anonymous said...

It's gone. Anyone got a new link to the doc?

goreSplatter said...

Dead link.

Jim Martin said...

Thanks - I updated the link so it should work now.