Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi Everybody how used and compare two string. This is my code.
void MainWindow::start_cummunication()
{ if (!strcmp(”!PKS”,start_cumm) !=0);
else
ui->textEdit->setText(“Error : Communication NotEstabilished”);
}
Hi,
Please open a new thread when you have a new question.
Since you are using Qt, you should have a look at QString
Hi I am not using button, my text display direct on line Edit. This is my code. void MainWindow::start_cummunication()
{ if (!strcmp(”!PKS”,start_cumm) !=0); else ui->textEdit->setText(“Error : Communication NotEstabilished”);
What button ?
I just suggested to use QString for your string comparison