this author also has a really good series on how to use a subset of C++ as a "better c"
Modern C++ for C Programmers
Introduction - https://berthub.eu/articles/posts/cpp-intro/
Part 1 - https://berthub.eu/articles/posts/c++-1/
Part 2 - https://berthub.eu/articles/posts/cpp-2/
Part 3 - https://berthub.eu/articles/posts/cpp-3/
Part 4 - https://berthub.eu/articles/posts/cpp-4/