![I am not able to get it what it means , "error: cannot convert 'std::string' to 'const char*' " - Complete C++ Course - Coding Blocks Discussion Forum I am not able to get it what it means , "error: cannot convert 'std::string' to 'const char*' " - Complete C++ Course - Coding Blocks Discussion Forum](https://discuss.codingblocks.com/uploads/default/original/2X/5/55ea241bbd28cfb2cf4c5ff6fb29f183b615394c.jpeg)
I am not able to get it what it means , "error: cannot convert 'std::string' to 'const char*' " - Complete C++ Course - Coding Blocks Discussion Forum
![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/96821777-782f5480-13dd-11eb-9a10-a26cf1d1600a.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
Use std::string instead of const std::string& in C++ APIs where the string is being copied. by RyanTheOptimist · Pull Request #2667 · envoyproxy/envoy-mobile · GitHub
![span xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:epub="http://www.idpf.org/2007/ops" class="number">9.15 </span><code xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns ... span xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:epub="http://www.idpf.org/2007/ops" class="number">9.15 </span><code xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns ...](https://www.oreilly.com/api/v2/epubs/9780134448930/files/images/f0430-01.png)
span xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:epub="http://www.idpf.org/2007/ops" class="number">9.15 </span><code xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns ...
![how to solve the problem about:cannot convert 'std::string {aka std::basic_string<char>}' to 'const char*' for argument '1' to 'char* strptime(const char*, const char*, tm*)' | Qt Forum how to solve the problem about:cannot convert 'std::string {aka std::basic_string<char>}' to 'const char*' for argument '1' to 'char* strptime(const char*, const char*, tm*)' | Qt Forum](https://ddgobkiprc33d.cloudfront.net/84dd5c69-ba8b-4ebd-a1c6-8a2d63e21869.png)