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

advertising
c/conio.h/gotoxy.1437561807.txt · Last modified: 2015/07/22 12:43 by 112.203.138.3

Impressum Datenschutz