Google Answers Logo
View Question
 
Q: Making Dots Letters in Assembly Using C++ Problem. ( No Answer,   0 Comments )
Question  
Subject: Making Dots Letters in Assembly Using C++ Problem.
Category: Computers > Programming
Asked by: leo_chris-ga
List Price: $20.50
Posted: 02 Feb 2005 16:24 PST
Expires: 01 Mar 2005 08:55 PST
Question ID: 467801
I have a problem in Assembly using C++. The Problem is i ned to
display dot colors in the screen using dos.h include files. This is
the sample program already done but ned to re edit to create a ACRONYM
letters.

#include <stdio.h>
#include <dos.h>
#include <stdlib.h>
#include <conio.h>
#include <iostream.h>
int GMode()
{
	union REGS regs;
	regs.h.ah=0x00;
	regs.h.al=0x13;
	int86(0x10,&regs,&regs);
	rand();
	return 0;
	}
void Tmode()
{
	union REGS regs;
	regs.h.ah=0x00;
	regs.h.al=0x03;
	int86(0x10,&regs,&regs);
	}
int Plot (int x,int y,int color)
{
	union REGS regs;
	regs.h.ah=0x0c;
	regs.h.al=color;
	regs.x.cx=x;
	regs.x.dx=y;
	int86(0x10,&regs,&regs);
	return 0;
}
int main()
{
GMode();
Plot(100,100,14);
getch();
Tmode();
return 0;
}

This program display only 1 dot, but i ned to display lots of dots
that formed letter C D in the screen. Also the color of dots should be
randomize so that the letter C D have different colors inside it. Just
use loop in the program.

I ned this program until February 6,2005 . The next day after that is
the due date of this said program. Hope this program will be finished
as fast as possible. TY
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy