int main(int argc, char *argv[]) { QApplication app(argc, argv); Calc calc; calc.show(); return app.exec(); }
int main(int argc, char *argv[]) { QApplication a(argc, argv); Calc w; w.show(); return a.exec(); }