All pastes #267763 Raw Edit

Anonymous

public c v1 · immutable
·published 2006-12-05 02:03 UTC
rendered paste body
#include <stdio.h>int main(){	int c;	FILE* arq = fopen("arquivo.txt", "r");	while ((c = getc(arq)) != EOF)		printf("Caractere numero %03d lido: %c\n", c, c);	fclose(arq);}