In my project, realised in c++ I make use of 2 libraries:
- Libsodium (for encrypting and decrypting)
- SFML (for the graphics part)
I know that Libsodium is realised in pure C code, while SFML in C++, whereas my project is in C++.
So, Can I mix C code with C++ code in a safe manner (without the risk of bugs and memory leaks)?
Thank you in advance