Im currently trying to work with a program that reads raw DV and dumps each frame in the form of a PPM file. I need to read the PPM's into OpenGL Textures and display them. But that is not the problem.
The program has the ability to dump all of the images to stdout instead of the filesystem. I want to read these images through my program's stdin, and this is where my troubles begin.
Does <iostream> directly support this? All example uses of <fstream> that I have seen regard reading/writing a file on the filesystem. How do I read a file from stdin, and to top that, not just one file, but consecutively streaming files to no predictable end (user terminated).
Thanks for any help.