Hi, I'm having trouble understanding the use of gotoxy in this program given in my text book. It's for converting a decimal to hexadecimal number using for and switch().

They've used an infinite for loop, variables x and z for finding the quotient and remainder of decimal number x when divided by 16.

Then, they initialised a variable y=30, and used a statement

Code:
gotoxy(y--, 5);
Then within the for loop comes switch() for printing characters A to F if remainder>9.

I understand everything except the gotoxy part. Oh, and #include<process.h> is also used, and I don't have a clue about it. Help!