1 design a program that reads in a text file with drawing

Assignment Help Computer Engineering
Reference no: EM13347691

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: , " ‘ ( ) ;

Reference no: EM13347691

Questions Cloud

Questions mylocation sdword : questions mylocation sdword 14thetestnbspnbspnbspnbspnbspnbspnbsp sdword 8nbspnbsp nbspmovnbspnbsp
The purpose of the program is to prepare an accounting : the purpose of the program is to prepare an accounting database for e.g. a dorms kitchen to keep track of the
1 analysis of the bond issuea show that the price of the : 1. analysis of the bond issuea show that the price of the bond is equal to that of a portfolio which containsi a long
Write a step-by-step plan including comments that reflect : write a step-by-step plan including comments that reflect changes to the machine state to solvequestion 1. input a b
1 design a program that reads in a text file with drawing : 1. design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn
Problem 1 a 25 lbf block b is moving with a velocity vo of : problem 1 a 2.5 lbf block b is moving with a velocity vo of magnitude vo 6fts as it hits the 1.5 lbf sphere a which is
The case international coalbob manchester is a busy bright : the case international coal.bob manchester is a busy bright middle-manager with an engineering background. he does not
Implement functions using x86 assembly in addition to : implement functions using x86 assembly. in addition to implementing procedures this assignment requires to pass
Case analysis a brief outline of the firm and its industry : case analysis a brief outline of the firm and its industry is given as well as a few tips for your attention. you are

Reviews

Write a Review

Computer Engineering Questions & Answers

  Developing uml sequence diagram for uploading document

For the existing Blackboard system, a system utilized for virtual classroom, grades, messages, and announcements, develop ONE UML Sequence Diagram for uploading the document to Blackboard.

  Write down three separate simple exception handlers

Write down three separate simple exception handlers, one for dividing by zero, another for attempting to open a nonexistent file, and the last for an array out-of-bounds check.

  What is the time efficiency class of the algorithm

Write down an algorithm for finding the largest key in the binary search tree. What is the time efficiency class of your algorithm in the worst case?

  Encipher a message using a keyword

The first program will encipher a message using a keyword and second program will decipher a message using a keyword.

  What constitutes a well-maintained system

What constitutes a well-maintained system, in terms of function, utility, and reliability and how does the truly effective SysAdmin ensure success?

  Define testing and debugging in terms of run time

define in your own words the difference between testing and debugging.

  Design a set of powerpoint slides explaining

Jim and Tim are brothers who have a love of robots. They started a home based business known as 'RoboBoys' where they custom build robots for fun, gifts, competition and decoration.

  How to use the top-down modular approach

make use the top-down modular approach and pseudocode to design a suitable program to solve it.

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  How security and integrity of their data can be maintained

The advantages and disadvantages to an organisation of using Cloud Computing, for example, the potential to reducecosts, the risk of making the organisation's data more vulnerable to hacking.

  Identify the test objectives and test approaches

A typical download takes one hour, and an interrupted download must be restarted from the beginning. The number of customers downloading at the same time ranges from 10 to 100 throughout peak hours. On average, your system could go down about once..

  Show both the subscript of the largest item in arr

show both the subscript of the largest item in arr. want help with writing a program that: Lets arr be an array of 20 integers

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd