4 ms·
C++ for C programmers, part 2 of 2 (the OO features)
- Jun8 16y agoLearn C++ in 20 minutes! If you try to write C++ code armed with this minimal guide, boy, are you in trouble. I would suggest to buy "Accelerated C++" (http://www.acceleratedcpp.com/ http://www.acceleratedcpp.com/) instead, which is a great (but short) book to make the leap to C++.
- benhoyt 16y agoAs the article's author, I'm somewhat biased :-), but I respectfully disagree. If you try to learn C++ armed with only this guide, sure. I certainly didn't write it as a comprehensive guide. But doing is the only real way to learn a language, and I think that for a C programmer, this might be a good place to dive in and start trying things.
- bitsai 16y agoAnother vote for Accelerated C++. Great book, brings readers up-to-speed quickly on a very useful subset of C++ features.
- hartror 16y agoC++ is is a loaded rail gun with a faulty safety switch, useful and powerful but dangerous to use! A journeyman programmer like myself has so much to learn once the basics are mastered, this doesn't seem to be the case in other languages I've used. I'm slowly working my way through this list starting with Scott Meyers http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list http://stackoverflow.com/questions/388242/the-definitive-c-b...
- ericz 16y agoDamn. Where was this in the beginning of my internship when I was declaring every C++ function explicitly and used stdio for everything. And references, I'm still not sure when to use references and when to use pointers. Learning C++ after Java and C is the WORST because all of the assumptions you pick up from either language is wrong.