response
is defined as Byte Array. I know how to print out the full response:
printf("Response: %s", response);
Or for example only the penultimate byte:
response[lenr - 2]
But how can i print out the response from the 1 to the 26 Byte? Thanks
由于您已标记此C ++,因此请使用C ++ I / O :
std::cout.write(response, 26);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.