fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void outbyte(int b) {
  5. putchar(b >> 24);
  6. putchar(b >> 16);
  7. putchar(b >> 8);
  8. putchar(b);
  9. }
  10.  
  11. int main() {
  12. printf("CODE: %x, %x, %x, %x\n", 'C', 'O', 'D', 'E');
  13. outbyte(0x434f4445);
  14. return 0;
  15. }
Success #stdin #stdout 0s 3344KB
stdin
Standard input is empty
stdout
CODE: 43, 4f, 44, 45
CODE