std::ifstream skips white spaces
I needed to read a binary ppm. Normally, I would normally write an ASCII ppm, but I didn't have a choice because I as converting a png to ppm with ImageMagick. Why PPM? Well, mostly because it doesn't require a library to link (or statically compile ...
m-kim.hashnode.dev1 min read