#include <stdio.h>
#include<stdlib.h>
main()
{
	int c;
    FILE *fp;	
	if((fp=fopen("c://text.txt","r"))==NULL)
	{
		printf("file open error");
		exit(0);
	}
	while((c=fgetc(fp))!=EOF )
		putchar(c);
	fclose(fp);
}
