Advertisement
Guest User

Untitled

a guest
Jan 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <conio.h>
  4.  
  5. int main(void)
  6. {
  7.     char znak1 = 0;
  8.     while(1)
  9.     {
  10.         if((znak1 = fgetc(stdin))!= 27)
  11.          printf("%c", znak1);
  12.         else return 0;
  13.     }
  14.     getch();
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement