As Qt is a GUI framework, I don’t understand why you should have to convert that function (I mean that nothing in Qt is going to stop you from using that function as-is).
Anyways:
bytes_to_encode
is a character pointer, so *bytes_to_encode
will return the character pointed to by bytes_to_encode
. bytes_to_encode++
will return the pointer and then increment it (ie, make it point to the next location. *(bytes_to_encode++)
combines both actions, ie it returns the character pointed to by bytes_to_encode
and then increments the pointer, so that next time the next character is returned.
1
solved what this code do [closed]