Advertisement
Guest User

Untitled

a guest
Aug 30th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. char t1 = buffer[1];
  2. char t2 = buffer[2];
  3. char t3 = buffer[3];
  4. std::cout << t1 << t2 << t3 << std::endl;
  5. QString strt123;
  6. strt123 += t1;
  7. strt123 += t2;
  8. strt123 += t3;
  9. int i123 = strt123.toInt();
  10. std::cout << i123 << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement