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

  Write down a swing applet that displays

Write down a Swing applet that displays your name (Gary Vega) in blue the first time the user clicks a JButton4, and then displays your name larger and in gray second time the user clicks the JButton. Save program as JBlueGray.java

  Program that creates an instance of the string class

Write down a Java application that creates an instance of the String class and initializes this instance with a String literal. Use a for loop structure to print the string in reverse order. Implement the following two String member methods to com..

  Database and characteristics of database

Explain the Database and describe the four characteristics of the database? Explain the Relational Database and generate a relational database for 5 employees.

  Express developments in emerging technologies

Are you a optimistic or apprehensive about developments in emerging technologies that simulate human experience? Give examples of a business situation that would benefit from each of the following.

  Suppose cookies are not disabled on the client

suppose cookies are not disabled on the client.

  Show the parse tree for the expression 110

The second grammar is unambiguous. This means that every expression in the language has exacty on parse tree. Show the parse tree for the expression 110.

  What are the values of the queuefront and queuerear

imagine that queue is a queue type object and the size of the array-implementing queue is 100. Also, suppose that the value of the queueFront is 25 and the value of queueRear is 25.

  What is a post-implementation audit of an information system

What is a post-implementation audit of an information system

  Make program to gauge the expected cost of an item

It is tough to make a budget that spans several years, because prices are not stable. If your company needs 200 pencils per year, you cannot simply use this year's price as the price of pencils two years from now. Because of inflation the cost is ..

  Too much control is counter-productive define

"Too much control is counter-productive." Do you agree? Provide reasoning of the view.

  Why would a firm choose one of these approaches

I am having difficulty with the following questions: Differentiate between a two-tier client/server system and a three-tier client/server system. Why would a firm select one of these approaches over the other when implementing a client/server syst..

  Cost estimate for the topliance corporation

You have already generated a project charter, a project schedule, and the cost estimate for the TopLiance Corporation, which sells home appliances. They have over 50 sales agents across multiple states.

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