I'm new to c++. I am having a trouble with creating a clreol(); (clear end of line) function in C++ language. And also I am using Code::Blocks.The header file you're trying to use is very old and outdated. I'm trying to do like: `
void LINES::CLEARDOWN(void)
{
for (int i = 1; i <= 25; i++)
{
sleep(20);
gotoxy(1, i);
clreol();
}
}
Can anyone please tell me the alternate way to use clreol()