title: Prompting a user with an input box? [C++]
body: <p>My goal is to simply use a pop-up box to ask the user for an input. I've searched around quite a bit and pretty much all the results say that creating a messageBox is really easy:</p>
  
  <pre><code>MessageBox (NULL, "Hello World" , "Hello", MB_OKCANCEL);
  </code></pre>
  
  <p>But that creating a pop-up that takes input is more involved and there isn't a straight forward way to do it. All of the results I could find on Google were dated somewhere from 2001 to 2005. I guess I'm here asking if some more straight forward solution has come about in recent years.</p>
  
  <p>Hopefully something nice and straight forward like in Java:</p>
  
  <pre><code>int number = JOptionPane.showInputDialog ("Enter an integer");
  </code></pre>
  
  <p>If that isn't the case, could I get a brief explanation of how to do it?</p>
  
  <hr>
  
  <p><strong>Edit:</strong> I couldn't get anything to work. :( I ended up writing the code to do the work in Java, and then wrote one line of C++ code to call the .jar file. :-/ Since the issue was time sensitive, it was better than nothing.</p>