Finding & repositioning cursor position

I'm quite new to programming and wondering if anyone can help.
I'm looking for a basic c++ program to run and display the co-ordinates of the cursor (I presume in pixels).
Then I would like to enter in values to add to the position, for example, move in x & y (-350, 620) which will move 350 units (pixels?) left and 620 down.

Is there a way to do this and then to make the mouse click to perform an action?

Many thanks
Last edited on
You won't be moving the cursor in pixels on console. You'd be moving in characters.
These are the methods to use. They are all platform-specific and fairly high level so beware.
http://www.cplusplus.com/forum/beginner/1258/
By the way, this should be in one of the help forums. The lounge is for the weird off topic conversations we have.
Last edited on
Topic archived. No new replies allowed.