Mirchiss
public cpp v1 · immutableint load_map(char *mapfile,char *location,int Lenght){ FILE *INPUT = fopen(location, "r"); //Checks if file exists if(INPUT==NULL) { return 1;} fgets(mapfile, Lenght, INPUT); fclose( INPUT); return 0;}