I m not able to use gotoxy func. I m using code::blocks. I tried to use the following func definition too.
Code:
#include <windows.h>

void gotoxy(int x, int y)
{
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_H ANDLE), coord);
}
I m new to code::blocks...The only compiler I have used before is Turbo c++... Please help....