So how do you expect it to work with QString of which it has no knowledge of ?no it works with strings![]()
I just asked to make you understand.
Now you can do the following -
char name[100];
scanf("%s" name);
QString qstring = name; // This will work because QString class knows to handle char data..
Bookmarks