According to the error message you havent defined fread/4 on the other hand, in the code you gave read_pgm/2 is not defined either (unless i'm missing something).
According to the error message you havent defined fread/4. On the other hand, in the code you gave read_pgm/2 is not defined either (unless i'm missing something). Possible reasons: the definition is in some other file.
Fread/4 is not implemented in your prolog implementation. You didn't load the library with fread/4. I think you should post the rest of the code and which prolog implementation you use.
If you use swi-prolog, I don't think that there is fread/4.
According to the error message you havent defined fread/4. On the other hand, in the code you gave read_pgm/2 is not defined either (unless i'm missing something).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.