Pejman Moghadam / C-programming

C - Simple text stream I/O using getchar and putchar

Public domain


#include <stdio.h>
main()
{
        int c;
        while ((c = getchar()) != EOF)
                putchar(c);
}

BY: Pejman Moghadam
TAG: c, getchar, putchar
DATE: 2011-02-24 16:10:00


Pejman Moghadam / C-programming [ TXT ]