Programming Reference/Librarys
Question & Answer
Q&A is closed
This is an old revision of the document!
return current horizontal cursor position
#include<stdio.h> #include<conio.h> int main( void ) { int x; printf("The answer is almost 42"); x = wherex(); printf("horizontal cursor position from where this text appears = %d\n",x); return 0; }
horizontal cursor position from where text appears is 33