fork download
  1. #include <curses.h>
  2. #include <stdio.h>
  3.  
  4. int main () {
  5. printf("Hello World!\n");
  6. getch();
  7. printf("End of Hello World!\n");
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/qITLo5/cc7QFU4r.o: In function `main':
prog.c:(.text.startup+0x1e): undefined reference to `stdscr'
prog.c:(.text.startup+0x23): undefined reference to `wgetch'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty