Hi,
In my program I have three lineEdit to add two numbers and show the resault.
my problrm is I don't know how can I convert string to integer and after calculation convert Integer to String.
please guide me.
Thanks
Printable View
Hi,
In my program I have three lineEdit to add two numbers and show the resault.
my problrm is I don't know how can I convert string to integer and after calculation convert Integer to String.
please guide me.
Thanks
Have a look a QString doc.
Are these ok?
int toInt ( bool * ok = 0, int base = 10 ) const
std::string toStdString () const
Will my answer be faster to read then the function documentation?
I mean really, no disrespect, but what do you expect with such questions?
Do they work? If so, yes, otherwise, No :)