I have this code
char powerUpPDF[3]; void DemoGL::powerUpCheck(){ powerCheck->toggle(); char status_OK[] = "OK"; char status_NO[] = "—" if (powerCheck->isChecked()){ powerUpPDF = status_OK; }else{ powerUpPDF = status_NO; } } According to the idea, it should assign powerUpPDF, the value of status_OK, but it shows me an error invalid array assignment .
„“in the code wormed. From a Word that you copied? - αλεχολυτ