I cant get the clear screen command in Turbo C. also in what position will i place it? here's a sample code.
#include %26lt;stdio.h%26gt;
main()
{
printf("hello");
}
Please help thanks!
What is the clear screen command in Turbo C?
i think you also have to place this at the beginning with the stdio..
#include%26lt;conio.h%26gt;
then you can place clrscr(); anywhere inside the main
:) :)
just like this:
#include %26lt;stdio.h%26gt;
#include%26lt;conio.h%26gt;
main()
{
clrscr();
printf("hello");
}
Reply:to clear the screen ;
we have clrscr(), itz a library function stored in the header file conio.h ie. console input output header file..
thanks
Reply:#include %26lt;stdio.h%26gt;
#include%26lt;conio.h%26gt;
main()
{
clrscr();
printf("hello");
}
Need to include the console input/output library
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment