#include <stdio.h>

int main(void)
{
	FILE* fp;
	int c;

	fp = fopen("testdata2.txt", "r");

	while (1) {
		c = fgetc(fp);
		if (c == EOF) break;
		putchar(c);
	}

	fclose(fp);

	return 0;
}
