All pastes #152303 Raw Edit

Mine

public c v1 · immutable
#152303 ·published 2006-08-28 18:21 UTC
rendered paste body
#include <stdio.h>#include <string.h>char *napis[];char i = 0;int main(int argc, char *argv[]){        FILE *stary=fopen(argv[1], "r");        /*FILE *nowy=fopen(argv[2], "w");*/        if(!stary){                printf("Nie utworzono pliku.\n");                return 0;        }        while(feof(stary)){                fscanf(stary, "%c", &napis[i]);                ++i;        }        for(i;i <= 0; --i){                printf("%c", napis[i]);                --i;        }        return 0;}