QT_計算器的簡單實現

QT_計算器的簡單實現 1 2 //轉換爲後綴表達式,實現最主要功能 3 void MainWindow::toPostfix () 4 { 5 QString exp = ui->lineEdit->text (); 6 //QString exp = "0.3/(5*2+1)", postfix; 7 8 QString tmp = exp; 9
相關文章
相關標籤/搜索