fork download
  1. #include "stdio.h"
  2.  
  3. int c;
  4.  
  5. int main(){
  6.  
  7. while ((c=getch()) !=EOF ){
  8. prinf("%c", c);
  9. }
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
asdf
fdsa
rew
compilation info
prog.c: In function ‘main’:
prog.c:7: warning: implicit declaration of function ‘getch’
prog.c:8: warning: implicit declaration of function ‘prinf’
/home/NDRAxk/ccdFBQei.o: In function `main':
prog.c:(.text+0x1c): undefined reference to `prinf'
prog.c:(.text+0x21): undefined reference to `getch'
collect2: ld returned 1 exit status
stdout
Standard output is empty