int a=0;
while (a<2)
{
//infos.stops is point to one array, called abc[10]
output = output + QString::fromStdString(*infos.stops)+ "." ;
infos.stops++;
a++;
}
ui->showMsg->setText(output);
The problem is infos.stops did show, but some funny characters appear like:
I have uploaded all my source code which is designed in QT Designer http://uploading.com/files/eaddfaf8/bus.zip/ The problem line is at manager.cpp line 133.