#include <stdio.h>//第3講問１
#include <stdlib.h>

void read_map(){
  int ch;
  FILE*fp;
  fp=fopen("map.txt","rt");
  if(fp==NULL){
    perror("ファイルを開けない.");
    exit(1);
  }
  while( (ch=fgetc(fp)) != -1){
    printf("%c",ch);
  }
}
void main (){
  read_map();
}