orQt Code:
To copy to clipboard, switch view to plain text mode
same with byte array do great work but in case int = 200 i.e.Qt Code:
To copy to clipboard, switch view to plain text mode
it print -56
what is wrong with me?????????????
orQt Code:
To copy to clipboard, switch view to plain text mode
same with byte array do great work but in case int = 200 i.e.Qt Code:
To copy to clipboard, switch view to plain text mode
it print -56
what is wrong with me?????????????
This should not even compile if it is supposed to be C++... ?!
Try:
Qt Code:
QString strNum; textedit->insertPlainText(strNum.setNum(intArray[i]));To copy to clipboard, switch view to plain text mode
But before you go further I strongly suggest you first learn the C/C++ syntax.
==========================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.
yy thank you for sugalksdjal;ksjd;lkjasdf
about setNum true, but in case I've compiled that func, i guess compiller worn about it, or not?
any way i used char array not int... my example work fine,.
Thanks for your help...
Bookmarks