Read news on simple c++ raii with our app.
Read more in the app
Why not just do simple C++ RAII in C?