qt5中报错no matching function for call如何解决

2024-12-01 11:18:28
推荐回答(2个)
回答1:

#include
#include
#include

using namespace std;

int main (int argc, char * const argv[]){
string str = "Hello";
transform(str.begin(), str.end(), str.begin(), toupper);
cout << str << endl;

return 0;
}

回答2:

LCDRange::LCDRange( QWidget *parent )
: QWidget(parent)
{
init();
}