Qt猜数字游戏
界面精美,简单游戏...代码量少 #include #include #include Guessnum::Guessnum(QWidget *parent) : QWidget(parent), ui(new Ui::Guessnum) { ui->setupUi(this); this->t=15; this->total=0; this->randNum=0; this->showNum=0; this->flag=0; this->time_flag=0;
界面精美,简单游戏...代码量少 #include #include #include Guessnum::Guessnum(QWidget *parent) : QWidget(parent), ui(new Ui::Guessnum) { ui->setupUi(this); this->t=15; this->total=0; this->randNum=0; this->showNum=0; this->flag=0; this->time_flag=0;