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.:- M9132055

Have any Question?


Related Questions in Computer Engineering

Create a menu form you will create a menu form using form

Create a Menu Form You will create a menu form using Form Design view. Add three command buttons for the three forms in the database, and then add three command buttons for the three reports in the database. a. Open the ...

The newly elected president needs to decide the remaining 4

The newly elected president needs to decide the remaining 4 spots available in the cabinet he/she is appointing. If there are 13 eligible candidates for these positions (where rank matters), how many different ways can t ...

Recall merge sort sorts a vector of elements rewrite merge

Recall Merge Sort sorts a vector of elements. Rewrite Merge Sort to sort a list of elements. You may use your own List or STL list. This must be in C++. Write your own version of merge_sort(), merge(), and copy() functio ...

Suppose youve designed a mips processor implementation in

Suppose you've designed a MIPS processor implementation in which the stages take the following lengths of time: IF=20ns, ID=10ns, EX=20ns, MEM=35ns, WB=10ns. What is the minimum clock period for which your processor func ...

Question ransomware to pay or not to pay when it comes to

Question: Ransomware: To pay or not to pay? When it comes to corporate data, should corporations pay? Can you trust paying? What can be done to protect against ransomware?Would you pay if it were your own personal data? ...

Here is a hypothesis when deprived of food invertebrates

Here is a hypothesis: when deprived of food, invertebrates will lose weight more quickly when humidity is 60%. Please indicate which is your dependent variable (Y) & which is your independent variable (X) by labeling the ...

Recommend a mechanism that will record event data on the

Recommend a mechanism that will record event data on the folders for each department. What events should be logged and how often do these logs need to be reviewed? Recommend an implementation for antivirus software. Sugg ...

Question 1 describe the components and basic requirements

Question: 1. Describe the components and basic requirements for creating an audit plan for an IT Infrastructure Audit. 2. Using the National Institute of Standards and Technology (NIST) IT security controls, what is incl ...

About signed integer representation twos complement

About Signed Integer Representation. Two's Complement Overflow Explain how to perform the signed decimal to Hexadecimal conversion and vice versa. Show it with two examples for each.

List of fruitspapayakiwifruitzapote List of fruits: papaya kiwifruit zapote blanco

List of fruits: papaya kiwifruit zapote blanco huckleberry banana fig lime xigua vanilla yiessas tamarind umkolo quince apple imbu elderberry juneberry mango strawberry nectarine date cherry orange watermelon grape raspb ...

  • 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