Hi,
This character is the NULL character that means that the string finish there. Search on the web about strings on C or C++ and you will see that need to be terminated with "\0" that is the NULL character
Hi,
This character is the NULL character that means that the string finish there. Search on the web about strings on C or C++ and you will see that need to be terminated with "\0" that is the NULL character
Òscar Llarch i Galán
The null character should not be printed out.
It could be that qDebug() doesn't stop at the null char when it gets a c style pointer, but I would be surprised if that is the case.
==========================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.
Oh sorry, the bad character are Before "Test".. for example: "}→qwTEST"
Could you provide a minimal compilable example reproducing the problem?
Bookmarks