fork(1) download
  1. #include <iostream>
  2. #include <cstdint>
  3.  
  4. using namespace std;
  5.  
  6. void printU8 (uint8_t a)
  7. {
  8. std::cout << a << std::endl;
  9. std::cout<<static_cast<uint16_t>(a)<<std::endl;
  10. std::cout.operator<<(a);
  11. std::cout<<std::endl;
  12. }
  13.  
  14. int main()
  15. {
  16. printU8(26);
  17.  
  18. printU8(65);// http://w...content-available-to-author-only...e.com/
  19. }
Success #stdin #stdout 0s 4388KB
stdin
Standard input is empty
stdout

26
26
A
65
65