- The console coordinate system places (0,0) as the upper-left character. - The displayed coordinate system places (0,0) at (38, unknown) in the console coordinate system.
The reason that the y coordinate is unknown is that you do not know the number of lines displayed above your program's start on the console. In order to solve this problem you have several options -- the simplest two being:
- Follow JLBorges's advice and do all drawing in memory first - Clear the screen before drawing