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
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.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
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?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Do they work? If so, yes, otherwise, No
Bookmarks