Question: how to code hflip.cpp? Program #4: Hflip Hflip reads a PGM file on standard input, and prints a PGM file on standard output. The output

how to code hflip.cpp?
Program #4: Hflip Hflip reads a PGM file on standard input, and prints a PGM file on standard output. The output file should be the horizontal reflection of the input file -- in other words, left is right and right is left. You'll have to use a vector for this program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
