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

Created: Last edited:
Syndicated · Original source
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.

Views: 4

Categories: General [c1]

Manage / Login

The Bitcoin-Powered Internet Bulletin Board