User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:wherey

wherey

int wherey();

description of wherey

return current vertival cursor position

#include<stdio.h>
#include<conio.h>
 
int main( void )
{
   int y;
   printf("The answer is almost 42\n");
   y = wherey();
   printf("vertical cursor position from where this text appears = %d\n",y);
   return 0;
}

output of wherex example

  The anser is almost 42
  vertical cursor position from where text appears = 4

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/conio.h/wherey.txt · Last modified: 2024/02/16 01:05 (external edit)

Impressum Datenschutz