I'm looking to make a C++ program that accepts command line arguments for a file name, and opens a specific program to view the file.
My files are going to be .jpg, .pdf, and .tiff, so i basically want lets say you have this command line arguments:
program doc.pdf
it will know to open the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.