How can i determine the XY coordinates of a character and print the output on the screen and my text file?
would it be possible to use gotoxy?
for example:
void print(ifstream& input, ofstream& output);
void gotoxy(int x, int y);
void print(ifstream& input, ofstream& output)
{
int x, y;
COORD coord;
coord.X = x;
coord.Y = y;
...
...
...