作业帮 > 综合 > 作业

lable' was not declared in this scope

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/06/11 15:13:39
lable' was not declared in this scope
#include int main(int argc,char* argv[]){
QApplication app(argc,argv);
QDialog* dd=new QDialog();
QLabel* label=new QLabel(dd);
lable->setText("hello world");
dd->show();
return app.exec();}xp下的
lable' was not declared in this scope
错误信息是 “在本定义域范围,变量名 lable 没有声明”
lable 拚写错.是 label