![QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub](https://user-images.githubusercontent.com/37881189/96821704-4c13d380-13dd-11eb-9b85-28f807da2db3.png)
QUESTION] How to write the binding code for a c++ function that takes char * and return a std::string · Issue #2615 · pybind/pybind11 · GitHub
How to convert a string into an integer in C++? I have many strings like '98756' and '433', and I want to convert them to integer variables. How can I do that -
![Convert System::String to c char string or std::string · Issue #43 · jacksondunstan/UnityNativeScripting · GitHub Convert System::String to c char string or std::string · Issue #43 · jacksondunstan/UnityNativeScripting · GitHub](https://user-images.githubusercontent.com/25851211/62617696-03413d80-b945-11e9-988c-d4f95ea1e2a4.png)