int wherex();
==== description of wherex ====
return current horizontal cursor position
#include
#include
int main( void )
{
int x;
printf("The answer is almost 42\n");
x = wherex();
printf("horizontal cursor position from where this text appears = %d\n",x);
return 0;
}
===== output of wherex example =====
The answer is almost 42
horizontal cursor position from where text appears = 1
{{:c:conio.h:wherex.png?nolink|}}