int lettercount;
lettercount=strlen("ABC");
subwin->doco->setPlainText(std::to_string(lettercount));
The second line here is failing to compile with error "/home/laurie/NetBeansProjects/QT_Learning2/QTDesigner/mainwindow.cpp:188: error: no matching function for call to 'QTextEdit::setPlainText(std::string)'
subwin->doco->setPlainText(std::to_string(lettercount));"