暫無描述

main.cpp 231B

1234567891011121314
  1. #include "mainwindow.h"
  2. #include <QApplication>
  3. #include <ctime>
  4. #include <cstdlib>
  5. int main(int argc, char *argv[])
  6. {
  7. srand(time(NULL));
  8. QApplication a(argc, argv);
  9. MainWindow w;
  10. w.show();
  11. return a.exec();
  12. }