This PR translates the example in the readme into a living example in the example directory.
It also adds a C example that is essentially the same as the C++ example, but since they are considered different languages, I think it would be helpful to have separate examples for them.
This PR translates the example in the readme into a living example in the example directory. It also adds a C example that is essentially the same as the C++ example, but since they are considered different languages, I think it would be helpful to have separate examples for them.