I am working on a project where I need to write a function to insert one image on top of another. Let's call this the insertion and original image (original image is the image to be inserted on). I am using C++ fstream.
So I would need to read the insertion image and write it into the original image. Both filestreams would be open, is there any informal standard that says I should not do this, i.e., opening two files -- reading from 1 and writing to the other?