answersLogoWhite

0


Best Answer

You could manipulate screen's video memory directly in order to achieve that. Video memory address in DOS text mode is allocated on segment 0xB800.

Look at the related links section, I've coded an example program for you that uses ClrScr() and ClrScrAsm() functions. Both featuring color support! ;)

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

clrscr mean to start clear output screen for another output of any program.syntax means the rules of the pictular programming language which have to follow while writting program in that langague

The 'syntax' is rather simple: clrscr ();

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

C++ does not have a clrscr instruction. It is a function provided by a third party (Borland) and is intended to clear the command window buffer. However, the command window is (usually) the default standard output device and programmatically clearing it would be considered rude. The programmer should simply send appropriate output to the standard output device and let the user decide what to do with it. If they wish to clear the command window, they can do so at any time with the CLS command.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

This function in TurboC clears the screen.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the coding of a pogram in c to implement the builtin function of clrscr?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the advantages of Huffman coding?

Algorithm is easy to implement Produce a lossless compression of images


How can you implement Ricart and Agrawala's algorithm in c?

Ronaldo! 'c' coding of Ricart-agarwala algorithm


What is the android language coding?

The operating system itself consists of Java and C/C++. The applications are written primarily in Java for the builtin Java virtual machine. (Dalvik in Android < 5.0, ART in Android >=5.0)


What is the coding to find the rightmost digit?

#includevoid main(){long int n;clrscr();printf("Enter a number:");scanf("%ld",&n);printf("%d",n%10);getch();}


Code?

For coding


What is the terms refers to a region of a chromosome that has a specifiic function?

The region of chromosome that is generally thought of as the unit of function is the "gene". Genes are composed of both a "coding region"--that sequence that tells the cell's machinery what the protein will be--and a "regulatory" region, which tells the cell when to turn on the coding region to make the protein.


In SQL what is the function of the union operator?

In SQL, the function of the union operator is to combine the result of two or more select-statements. The union operator is a very useful tool when coding SQL.


What is the difference between program and programing?

the program contains the which are coding like as our header file ,void main,library function etc.


How to type a program for a function?

In C++ functions are lines of code that make up the workings of a program. A function can voluntarily change input parameters that permit informers to pass coding dialogued arguments into the function. A function can voluntarily return a value as output. If you know the C++ coding language, here is and example of a function: //FUNCTION EXAMPLE using namespace std; int addition (int a, int b) { int r; r=a+b; return r; } int main () { int z; z = addition (5,3); cout << "The result is " << z; }


What are the different types of coding systems?

hierarchial classification faceted classification serial coding sequential coding block coding interpretative coding mnemonic coding check digits


What is computer modularization?

Modularization is a form of computer programming. In it, the application coding is subdivided into smaller individual programs each of which performs a different function or a subroutine.


What is is the coding of finding any prime number in C language?

#include"stdio.h" #include"conio.h" main(){ int x,i=2; clrscr(); printf("\nEnter a no"); scanf("%d",&x); while(i<=x-1){ if(x%i==0) printf("\nNOT PRIME"); break; i++} if(i==x) printf("\nNo is prime"); getch(); }