I want to use sscanf function ,
I am using this function as follows,
QString s=" " //Some data;
sscanf(s,format,value1,value2 ,...);
this shows error like can't convert QString to char *,
So i tried ,
(char*)(s.data()) this is returning only first characcter,
usage like this,
sscanf((char*)(s.data()),format,value1,value2 ,...);
How to convert QString to char *?
Please help me.
Thanks,
Rajesh.S
Bookmarks