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下的

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/04 02:11:04
lable''wasnotdeclaredinthisscope#includeintmain(intargc,char*argv[]){QApplicationapp(argc,argv);QDial

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
#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#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 没有声明”
lable 拚写错.是 label