I am getting an invalid pointer error when I call the below function. Why is this happening?
void Get(const char* value) { string st(\"testing string\");
I see two mistakes:
val.c_str()
GetVal()
val