answersLogoWhite

0

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

15y ago

What else can I help you with?

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 function of protein coding genes in the human body?

Protein coding genes in the human body provide instructions for making proteins, which are essential for various biological processes such as growth, repair, and regulation of body functions.


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.


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 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 much of our DNA is actually used for coding?

Only about 1-2% of human DNA is used for coding proteins, which are essential for the structure and function of cells. The remaining 98-99% of our DNA was once thought to be "junk" but is now understood to have regulatory and structural roles, influencing gene expression and other important biological processes. This non-coding DNA includes introns, regulatory sequences, and non-coding RNAs. Thus, while a small fraction of our DNA directly codes for proteins, the vast majority plays crucial roles in genetic regulation and cellular function.


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 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(); }