The following fails with the error prog.cpp:5:13: error: invalid conversion from ‘char’ to ‘const char*’
prog.cpp:5:13: error: invalid conversion from ‘char’ to ‘const char*’
int main() { char d = \'d\'; std::s
Try using the d as pointer y.append(*d)