All pastes #766696 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-09 01:53 UTC
rendered paste body
void getTextFile(FILE *receive, FILE *writeFile);

                                        /*while(currentC != '\0')
                                        {
                                                currentC = fgetc(receive);
                                                fputc(currentC,stdout);
                                        }*/
                                        getTextFile(receive,stdout);

void getTextFile(FILE *receive, FILE *writeFile)
{
        char currentC = '\r';

        while(currentC != '\0')
        {
                currentC = fgetc(receive);
                fputc(currentC,writeFile);
        }

        fflush(writeFile);
}