Cursor position

How to get the cursor position.(Not the mouse one)...i am trying to use windows.h header file
If you mean that blinking/flashing thing that shows you the position of where you are typing (such as in an editbox) - then that is called a caret.

GetCaretPos function
I think he means on the console window.

You need to use GetConsoleScreenBufferInfo()
http://www.google.com/search?btnI=1&q=msdn+GetConsoleScreenBufferInfo

If you are using Linux, this is not always possible to query.
ya iam talking about caret
can u provide with a code in C++
Topic archived. No new replies allowed.