I wonder if I install an image viewer in DOS, can I open an image in the image viewer automatically instead of opening the image manually after running a program which includes the following :
system("image.pgm") ?

C++ is written in MSVC++6.

Thx.