# Opinion: Modern C++ for C programmers: part 2

Welcome back! In part 1 I discussed how std::string and std::vector interoperate with C, including with the C standard library qsort call. We also discovered that the C++ std::sort is 40% faster than C qsort because C++ is able to inline the comparison function. In this part we continue with further C++ features that you can use to spice up your code ’line by line’, without immediately having to use all 1400 pages of ‘The C++ Programming Language’.

https://berthub.eu/articles/posts/cpp-2/

Publisher: Bert Hubert's writings — Opinion / commentary.

---

Canonical URL: https://qwibbit.com/q32810

Created: 2026-10-29T09:35:42.659969+00:00

Last edited: 2026-10-29T09:35:42.659969+00:00

Board: 3

Origin: Syndicated

Original source: https://berthub.eu/articles/posts/cpp-2/
