title: How to make a program as a default program to open specific files in Visual Studio C++
body: <p>Actually, I have no idea about what is the title of my question, so I couldn't search on Google, first I need to know what to say to this problem. </p>
  
  <p>Well, I have developed a application in Visual Studio C++ 2010,  in which 3D objects can be processed, so there is a function called Import Model which helps to import model.</p>
  
  <p>What I want is, the user just right click on the object and press Open with [application name] or double click on it, and application should the get the path of that file and call the Import function. Same like we do with any MS word *.doc files, we double click on it and it gets open. </p>
  
  <p>I want the same thing to make my software as a default program to open some specific files extension. When user double click on the model, it should open in my application.</p>
  
  <p>Actually, I read something about argument parser, I don't know much about it. Is it what I need to look for ?</p>
  
  <p>Thanks.</p>
  
  <p><strong>Update 1:</strong></p>
  
  <p>It is working Benjamin Lindley and others, but I am getting the following error before starting the application. The argument only passing through FLTK window. I have no idea from where this window comes? not even about these image options.. see the following picture please...</p>
  
  <p><img src="https://i.stack.imgur.com/mSSgf.jpg" alt="enter image description here"></p>