Our great sponsors
-
unitconversion.hpp
A C++ library containing predefined unit conversion formulas to make your life easier
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
au
A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience. (by aurora-opensource)
I was inspired to experiment in this area a while back: https://github.com/UnicycleBloke/units. Others have written much better libraries, but I tried to keep it simple. There are one or two links you may find useful. I made no attempt to support C, though.
I recommend using this as reference https://github.com/mpusz/units it probably solves the same or similar problem.
Be sure to check this one, too https://github.com/aurora-opensource/au