Please tell us where you find any definition of PGM, PPM, pixel, Image, or C++ in the C standard.
This is entirely off topic for c.l.c, where we deal with the portable C language (not C++) as defined in the C standard.