Intermediate programming

Assignment Help Computer Engineering
Reference no: EM131624

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: EM131624

Questions Cloud

Solve the programming problem : Solve the programming problem
Prepare an accounting for a dorm''s kitchen : The "purpose" of the program is to prepare an accounting (database) for e.g. a dorm's kitchen, to keep track of the consumption of beer for each room.
Fixed income securities : Explain why the price of the putable bond approaches the price
Calculate the output value of problem : Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly
Intermediate programming : Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly
Evaluate the maximum height reached by the sphere : Evaluate the maximum height reached by the sphere, and the distance traveled by the block.
The case international coal : Write a report on International Coal
Implement functions using x86 assembly : Implement a procedure that mimics a logic unit
Case analysis: outdoor sports inc : Calculate the Du Pont ratio analysis

Reviews

Write a Review

Computer Engineering Questions & Answers

  Risk assessment of ict system

Risk Assessment of ICT System and Developing Computer Incident Response System on WAMP platform

  Data representation and logic

Representing Text and Numbers, Binary Arithmetic, Interpreting Logical Statements, Logic Puzzle, Binary and Algorithms.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Describe stages of the processor

Describe the decode stage and Describe the execution stage of add, andi, mul, divi, and neg.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Mathematics in computing

Write the selection sort algorithm

  Write a recursive implementation of euclids algorithm

Write a recursive implementation of Euclids algorithm

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Implementation of type data structures

How can string and word variable type data structures be implemented?

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

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