C++ No viable conversion from string to const char *
2945
How to convert a std::string to const char* or char*
150640
Why does this work: returning C string literal from std::string function and calling c_str()
41082
converting a variable name to a string in C++
138804
Calling a const function from a non-const object
1329
how to convert System::String to const char*?
28186
C/C++ changing the value of a const
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
64799
Using char* as a key in std::map
79740
String can't change. But int, char can change
101597
cout << with char* argument prints string, not pointer value
61227
Why aren't C++ types const by default?
55726
How do you construct a std::string with an embedded null?
104791
Why isn't it legal to convert "pointer to pointer to non-const" to a "pointer to pointer to const"
76114
Why does (i|o)fstream take a const char* parameter for a file name?
52898
Using strtok with a std::string
3065
Use of 'const' for function parameters
48167
to_string is not a member of std, says g++ (mingw)