fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. char c;
  5. int znaki = 0;
  6. while((c=getchar())!=EOF)
  7. ++znaki;
  8. printf("W tekscie bylo %d znakow", znaki);
  9. return 0;
  10. }
Success #stdin #stdout 0s 2252KB
stdin
123456789
stdout
W tekscie bylo 9 znakow