Entries by Rainer Grimm

Cooperative Interruption of a Thread in C++20: Callbacks

I introduced in my last post “Cooperative Interruption of a Thread in C++20” callbacks. Today, I dive deeper. First , here’s a short reminder. Reminder In my last post “Cooperative Interruption of a Thread in C++20“, I presented the following program. // invokeCallback.cpp #include <chrono> #include <iostream> #include <thread> #include <vector> using namespace::std::literals; auto func […]

My ALS Journey: 11/n

This update is a special one. I want to explain how I can still provide classes, mentoring, and presentations. >> My ALS Journey so far << What Keeps me Alive First of all: I want to stay in touch with you by writing or speaking. I was, therefore, extremely depressed when I recognized that I […]

Chrono: Input

You can also apply the format specifier for formatted input. This post is the eleventh in my detailed journey through the chrono extension in C++20. The chrono library supports formatted input in two ways. You can use the function std::chrono::from_stream or std::chrono::parse. Both functions require an input stream and parse the input into a time […]

Chrono I/O: Unformatted and Formatted

Chrono I/O consists of reading and writing chrono types. The various chrono types support unformatted writing and formatted one with the new formatting library. This post is the tenth in my detailed journey through the chrono extension in C++20: Output Most chrono types, such as time duration, time points, and calendar dates, support direct writing […]

My ALS Journey: 10/n

Wow! This is already my 10 status report. >> My ALS Journey so far << How I write articles First, I dictated my article in German. Then, I automatically translated it into English. Thanks to Deepl, this was child’s play. Finally, I corrected the English article with an on-screen keyboard layout in WordPress. Darth Vader […]

Chrono I/O

Chrono I/O consists of reading and writing chrono types. The various chrono types support unformatted writing and formatted one with the new formatting library. This post is the ninth in my detailed journey through the chrono extension in C++20: Output Most chrono types, such as time duration, time points, and calendar dates, support direct writing […]

Time Zones: Online Classes

Today, I will continue to present the functionality of the time zones of the C++20 chrono extension. This post is the eight in my detailed journey through the chrono extension in C++20: Various Time Zones for Online Classes The program onlineClass.cpp answers the following question: How late is it in given time zones when I […]

My ALS Journey: 9/n with Hector

I initially thought that this status report was not particularly exciting. I was very wrong, but read it for yourself. >> My ALS Journey so far << How I Work I have had a suitable wheelchair for a few days now. It is an excellent help to me in my daily work. Now, I can […]