hey guys...can anyone write the code to clear the screen as clrscr() function does....

chk out this....

void main()
{
printf("\033[2J");
printf("\033[0;0f");
}

but i couldn't able to undrstnd......can anyone xplain....

What is spamming the board with "20 questions" all in a row all about?
It's like you found an online quiz and just dumped it here - sheesh!

Not to mention the cryptic "kiddie" speak and the "Oh no, not more code posted without code tags".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.