Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

1. Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly

2. BitmapFile.h and BitmapFile.cpp files are available for you to use see the example on how to use these files

3. Use CMPSC 122 Coding Standards

4. Must be Object Oriented using C/C++

- Must have a color class
- Must have an image class

5. Must use a STL container for storing the list of colors

6. Ask the user to input the name of the text file that contains the drawing information

7. The output file name is the input filename with the extension of ".bmp" So if the input file is "test.txt" the output file would automatically be "test.bmp"

8. Implement as many commands / parts as you can

9. Use your program to convert "what_is_this.txt" to "what_is_this.bmp" and include a copy of the output in your report

Drawing Text File Information

The input text file will only have a single command per line

There will be no white spaces before the first character of a command

Commands are case sensitive

The End-Of-Line (EOL) characters are the typical Microsoft ‘\r' ‘\n'

Color Names and text for Text() command may only contain alpha numeric characters and may not contain and of the following characters: , " ‘ ( ) ;

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9717308

Have any Question?


Related Questions in Computer Engineering

If a html or pdf full text link to an article is shown can

If a HTML or PDF Full Text link to an article is shown, can you access that source by clicking on the full text link?

Discuss the importance of using an access control model in

Discuss the importance of using an access control model in determining how employees in an organization should gain access to resources.

The national sporting goods association nsga conducted a

The National Sporting Goods Association (NSGA) conducted a survey of the ages of individuals that purchased skateboarding footwear. The ages of this survey are summarized in the following relative frequency distribution. ...

Mccann co has identified an investment project with the

McCann Co. has identified an investment project with the following cash flows. Year Cash Flow  1   $800  2    1,090 3    1,350 4    1,475 a. If the discount rate is 7 percent, what is the present value of these cash flow ...

One of the issues in early virtualization use was slow

One of the issues in early virtualization use was slow performance due to translation of system commands. Which piece of computer hardware was revised to run hypervisors natively? Also There are three "families" of opera ...

Find minimal dfas for the following languages in each case

Find minimal dfa's for the following languages. In each case prove that the result is minimal. (1) L = {a n bm> :n≥2,m≥1}. (2)L = {a n :n ≥ 0,n ≠ 3} (3) L = {a n :n mod 3 = 0}∪{a n : n mod 5 = 1}

If you set a lenient significance level eg 20 what is the

If you set a lenient significance level (e.g., .20), what is the effect on the probability of a Type I and Type II error (answer in terms of high or low probability for each Type of error)?

Give a recursive algorithm that generates a similar series

Give a recursive algorithm that generates a similar series of coins for changing n cents. Don't use dynamic programming for this problem.

Configuring name resolutionas the administrator of the

Configuring Name Resolution As the administrator of the Contoso Corporation, you manage an internal website that is often used by most users with the company. You try to connect to an internal website but cannot open the ...

Answer the following question whats the difference between

Answer the following Question : What's the difference between public, protected, and private members? What's the difference between static binding and dynamic binding?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As