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

  Write a recursive implementation of euclids algorithm

Write a recursive implementation of Euclids algorithm

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Implementation of memory management

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

  Examine the behavior of airfoil

Write HW assignment written in Matlab airfoils have different C mc/4

  Calculate the component voltages

Input voltage will be a step voltage that is 0 volt before time t = 0 and V in

  Describe stages of the processor

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

  Library management system

Prepare a module which can exhibit the Library Management System

  Mathematics in computing

Write the selection sort 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.

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Write an essay on wifi performance

Write an essay on WiFi performance

  Data representation and logic

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

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