How to use clrscr() function in c, c++ program in Ubuntu or in Linux
It is very simple to use the substitute of clrscr() function in Ubuntu. I have used it in Ubuntu terminal and i think it would work properly in other Linux OS.
#include<iostream>
#include<cstdlib>
using namespace std;
main()
{
system("clear");
.... ... ...
.... ... ...
}
#include<iostream>
#include<cstdlib>
using namespace std;
main()
{
system("clear");
.... ... ...
.... ... ...
}
Comments
Post a Comment