程序如下:if((ui->comboBox_1->currentText())="无")test_data[3]=0*0.6/120+0.2;
定义数组double net[长度];
如果是判断条件应该是==吧。看了 一下定义数组需要声明长度,这样进程才好分配多少空间。
==