title: Getting indexes of two dimensional array with mouse click
body: <p>If I have a two dimensional array in the console, for example:</p>
  
  <pre><code>  0123
  0 OOOO
  1 OOOO
  2 OOOO
  3 OOOX &lt;--- mouse click here
  </code></pre>
  
  <p>I want to click the array with my mouse and get indexes of the array. For example I click position (3;3) and it outputs in the console "x = 3 and y = 3" </p>
  
  <p>How can I do that in C++? (I'm using Windows)</p>