#include #include void main() { char far *v = (char far*)0xb8000000; clrscr(); *v = \'w\'; v += 2; *v = \'e\'; getch()
First, it gets the address of the beginning of the video buffer. It then clears the screen, and starts adding text to the buffer.