Subversion Repositories pentevo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1186 savelij 1
#include <stdio.h>
2
 
3
int main(int argc, char **argv)
4
{
5
  int ch;
6
 
7
  (void)argc; (void)argv;
8
  while (!feof(stdin))
9
   {
10
    ch=fgetc(stdin);
11
    if (ch==10) fputc(13,stdout);
12
    if (ch!=EOF) fputc(ch,stdout);
13
   }
14
  return 0;
15
}