-
Recent Posts
Recent Comments
krupazameria on Going over editorial comm… Michael Haephrati on Going over editorial comm… Michael Haephrati on The Simpson Show and C++ 20… Archives
Categories
Meta
Author Archives: רות האפרתי Ruth Haephrati
Feel the change: Meet the new C++23 insert_range()
C++23 brought a new and useful addition to the language: insert_range(). This new member function provides a more efficient way to insert a range of elements into a vector. Until C++23, the only way to insert a range of elements … Continue reading
Posted in Uncategorized
Tagged C++, C++ 23, Learning C++, Michael Haephrati, Programming, Ruth Haephrati
Leave a comment
The Simpson Show and C++ 20 concepts
Read more about that in Chapter 12 of our book.The Simpsons is one of the oldest and most beloved cartoon TV shows since 1987, and, unless you’ve been living in a cave, you probably know it. In the opening credits … Continue reading
Posted in Uncategorized
Tagged Books, C++, Cplusplus, CPP, Haephrati, Michael Haephrati, Programming, Ruth Haephrati
1 Comment
Handling Exceptions
An important part of the book Learning C++ exception handling, and especially exception handling in C++ 20. Here is an example: #include <strexcept> #include <iostream> class MyException : public std::runtime_error { public: MyException(const char* message) : std::runtime_error(message) {} /* a … Continue reading
Posted in Code Snippets
Leave a comment