Answer to Question #278049 in C++ for Fiona

Question #278049

Make a sample program using gotoxy function.


1
Expert's answer
2021-12-10T13:22:03-0500




#include <stdio.h>
#include <windows.h>




int main()
{
	// Input data
	COORD c;
	c.X = 40;
	c.Y = 16;


	SetConsoleCursorPosition(
		GetStdHandle(STD_OUTPUT_HANDLE), c);


	printf("gotoxy() ");
	getch();
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog