Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <conio.h>
- int main(void)
- {
- int licznik;
- char znak1;
- licznik = 0;
- while( (znak1 = getche()) != 27)
- {
- printf("\t%c\n", znak1);
- ++licznik;
- }
- printf("\nWiersze wejsciowe: %d", licznik);
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement