   getting mouse location in console window
  Is there a function where if you click on a certian location in the console window it returns the value of where you clicked.   
  That depends on how the console window was created, and what OS/library is providing the console.For Win32 consoles, use the ReadConsoleInput() API function to look for mouse events; the event data for mouse events includes the coordinates of the clicks.   