I have not worked with static libraries before, but now I need to.
Scenario:
I am writing a console app in Unix. I freely use std::string
everywhere because it's easy to do so. However, I recently found out that I have to support it in Windows and a third party application would need API's to my code (I will not be sharing source, just the DLL).
With this in mind, can I still use std::string
everywhere in my code but then provide them with char *
when I code the API's? Would that work?