15 ms·
Ask HN: Online C++ Resources?
I'm working on a side project that uses C++, so I'm finding myself having to relearn it.
I bought Accelerated C++ by Koenig and Moo, and I've been working through it. It's a great book for picking up the language quickly. I highly recommend it. However, now that I've learned a few languages from online resources, managing both a book and a laptop feels clunky and awkward. I can download Why's (poignant) Guide or php.net or the CSS spec and work on it with no effort on a plane or whenever I feel like taking a short break from my "real" work.
Anyone know of an online C++ training that you'd recommend?
- IsaacSchlueter 18y agoAccelerated C++ is here: http://www.amazon.com/Accelerated-Practical-Programming-Example-Depth/dp/020170353X/tag=foohack-20/ http://www.amazon.com/Accelerated-Practical-Programming-Exam... And, of course, there's the STL, but it's more a reference than a how-to: http://www.sgi.com/tech/stl/ http://www.sgi.com/tech/stl/
- scott_s 18y agoFor an STL reference, I find the one pointed to by bayareaguy (http://www.cplusplus.com/reference/ http://www.cplusplus.com/reference/) easier to browse.
- IsaacSchlueter 18y agoYeah, it's easier to browse, but it confounds wget for some reason, making it nearly impossible to save for offline viewing. The SGI reference is available in a tarball, even.
- scott_s 18y agoYou prefer doing that? I just have a bookmark on my toolbar. I never code without an internet connection, so it's easier to look at it online than store it locally.
- IsaacSchlueter 18y agoYeah. I have why's guide, the function info from php.net, the erlang guide, and a few others. The best way to learn a new language, I find, is in a park on a sunny day, without being distracted by IM or email or… ahem… news voting sites ;)
- scott_s 18y agoI find the best way to learn a language is to do it when I should be getting other work done. Sunny parks are not meant to have computers in them.
- bayareaguy 18y agoHere are some references I review whenever I need to work with C++. * The GNU C++ Library Documentation - http://gcc.gnu.org/onlinedocs/libstdc++/spine.html http://gcc.gnu.org/onlinedocs/libstdc++/spine.html * Scott Meyers TR1 Information - http://www.aristeia.com/EC3E/TR1_info.html http://www.aristeia.com/EC3E/TR1_info.html * Association of C & C++ users - http://accu.org http://accu.org * C++ Library Reference http://www.cplusplus.com/reference/ http://www.cplusplus.com/reference/ * Guru of the Week archive - http://www.gotw.ca/gotw/index.htm http://www.gotw.ca/gotw/index.htm These are a little older: * Lysator (Linköping, Sweden) - http://www.lysator.liu.se/c/index.html http://www.lysator.liu.se/c/index.html * Brad Appleton's C++ Links - http://www.cmcrossroads.com/bradapp/links/cplusplus-links.html http://www.cmcrossroads.com/bradapp/links/cplusplus-links.ht...
- psyklic 18y agoIf you want training, I recommend books (which teach you very efficiently). If you want the latest tips, tricks, and ways of thinking, then I recommend blogs (which are highly inefficient).
- scott_s 18y agohttp://www.boost.org http://www.boost.org The next time you find yourself saying "I wish C++ let me do X" or "I wish the STL had a library for Y" take a moment to search through Boost. You might find something that fits your needs. I've read a lot of hate for Boost. I personally make a point to use it everytime it provides functionality I need. The libraries often have a learning curve - sometimes a significant one. But they're also usually powerful.