User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:gotoxy

This is an old revision of the document!


gotoxy

void gotoxy( int x, int y);

description of gotoxy

places cursor at a desired location on screen.

#include<stdio.h>
main()
{
		clrscr;
		gotoxy("1,1");
		printf(" |mmh   |mmd  hmm+  `mmm    +mmmmy");
		gotoxy("1,2");
		printf("+MMm   +MMN  dMM+  `MMM    dMNMMN`");
		gotoxy("1,3");
		printf("+MMm   +MMN  dMM+  `MMM   .MMydMM|");
		gotoxy("1,4");
		printf("+MMm```+MMN  dMM+  `MMM   oMM|+MMh");
		gotoxy("1,5");
		printf("+MMMdddmMMN  dMM+  `MMM   mMN`.MMM`");
		gotoxy("1,6");
		printf("+MMNooohMMN  dMM+  `MMM  -MMh  dMM+");
		gotoxy("1,7");
		printf("+MMm   +MMN  dMM+  `MMM  sMMy++hMMd");
		gotoxy("1,8");
		printf("+MMm   +MMN  dMMo  .MMN  mMMNNNNMMM.");
		gotoxy("1,9");
		printf("+MMm   +MMN  |NMNyymMMs -MMh    dMM+");
		gotoxy("1,10");
		printf(":yys   :yys   -oyhdhs:  |yy:    |yy+");
		getch;
}

output of gotoxy c example

gotoxy example output in cmd

on the occasion of the current invasion of Russia in Ukraine

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

Impressum Datenschutz