fork download
  1. void show(void)
  2. {
  3. __asm
  4. {
  5. _emit 0xEB
  6. _emit 0x04
  7. align 4
  8. nop
  9. nop
  10. nop
  11. nop
  12. }
  13. MessageBox(NULL, TEXT("OLOLO"), TEXT("KEK"), MB_OK);
  14. __asm
  15. {
  16. nop
  17. nop
  18. nop
  19. nop
  20. }
  21. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'void show()':
prog.cpp:4:2: error: expected '(' before '{' token
  {
  ^
prog.cpp:5:3: error: '_emit' was not declared in this scope
   _emit 0xEB
   ^
prog.cpp:13:13: error: 'NULL' was not declared in this scope
  MessageBox(NULL, TEXT("OLOLO"), TEXT("KEK"), MB_OK);
             ^
prog.cpp:13:31: error: 'TEXT' was not declared in this scope
  MessageBox(NULL, TEXT("OLOLO"), TEXT("KEK"), MB_OK);
                               ^
prog.cpp:13:47: error: 'MB_OK' was not declared in this scope
  MessageBox(NULL, TEXT("OLOLO"), TEXT("KEK"), MB_OK);
                                               ^
prog.cpp:13:52: error: 'MessageBox' was not declared in this scope
  MessageBox(NULL, TEXT("OLOLO"), TEXT("KEK"), MB_OK);
                                                    ^
prog.cpp:15:2: error: expected '(' before '{' token
  {
  ^
prog.cpp:16:3: error: 'nop' was not declared in this scope
   nop
   ^
stdout
Standard output is empty