title: Using fscanf in binary mode
body: <p>Is using fscanf when opening a file in binary mode bad? I can't seem to find anything reasonable on the Internet. I am trying to open and read a PPM file and I've found <a href="https://stackoverflow.com/questions/2693631/read-ppm-file-and-store-it-in-an-array-coded-with-c">this</a>, but I am not sure if using fscanf is okay? And using netpbm is not okay, yeah.</p>
  
  <p>Reading this with fread seems like a pain.</p>