Hacker News new | comments | show | ask | jobs | submit login
Ask HN: How to start with C++ in 2018
4 points by throwcppaway987 11 months ago | hide | past | web | favorite | 2 comments
I find myself interested in implementing an OGR driver (http://www.gdal.org/ogr_drivertut.html). But, this task dictates knowing some C++. My normal approach would be to try and cowboy through, and look at some existing code. I'll still be doing this, but I also figured it would be nice to learn some first principles.

I keep reading HN comments that suggest writing C++ code has become more pleasant in recent years, and so I'd like some recommendations for how to learn some C++ that embodies these niceties.

I'm not a total novice programmer, but I am much more familiar with FP than OOP, so something that starts off fairly gently is probably best.

Get this - https://www.amazon.com/Tour-C-Depth/dp/0321958314. If you are stuck at any point ask on /r/cpp, people there are very friendly and knowledgeable.

There's a couple of pointers to books on C++11, C++14 in https://news.ycombinator.com/item?id=12123469

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact