![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/62620958-34be0700-b94d-11e9-9613-9a88352da98b.png)
Convert System::String to c char string or std::string · Issue #43 · jacksondunstan/UnityNativeScripting · GitHub
![object oriented - warning: ISO C++ forbids converting a string constant to 'char*' - Computer Science Stack Exchange object oriented - warning: ISO C++ forbids converting a string constant to 'char*' - Computer Science Stack Exchange](https://i.stack.imgur.com/yqbHs.png)
object oriented - warning: ISO C++ forbids converting a string constant to 'char*' - Computer Science Stack Exchange
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 -
![Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas Working with Strings in Embedded C++ - Sticky Bits - Powered by FeabhasSticky Bits – Powered by Feabhas](https://blog.feabhas.com/wp-content/uploads/2022/01/Slide1.png)