Either stop trying to pass a string constant where a function takes a char*, or change the function so that it takes a const char* instead.
String like "random string" are constants.
Either stop trying to pass a string constant where a function takes a char*, or change the function so that it takes a const char* instead.
String like "random string" are constants.