Create a cpp visual studio console application

Assignment Help C/C++ Programming
Reference no: EM131321679

1. Create a C++ visual studio console application with the name Project2. (As usual, to make the grader happy, it is critical that your project as well as your zip file contain your name and the exercise or project number.) 000 001 002 003 004 005 006 007 000 0 1 2 3 4 5 6 7 001 8 9 = - 002 + A B C D E F G 003 H I . ) 004 - J K L M N O P 005 Q R $ * 006 space / S T U V W X 007 Y Z , ( 000 001 002 003 004 005 006 007 2. Implement the above BCD character encoding for the IBM 704 using the following table

(from https://en.wikipedia.org/wiki/BCD_(character_encoding):

a. Include methods for encoding and decoding individual BCD characters,

b. Include methods for converting to and from BCD and ascii characters.

c. Add methods for storing and retrieving 5 BCD characters in each unsigned int in that array. The first character should be in bits 0-5, the second, in bits 6-11, the third in bits 12-17, the fourth, in bits 18-23, and the 6th in bits 24-29. Bits 30 and 31 are unused and should be set to zero. Your Bcd class should allow allocation of a dynamic array of unsigned integers.

d. Add methods to pack and unpack entire strings of ascii characters into array of integers of length n with 5 BCD characters per 32bit integer.

e. Add a method that accepts a file name containing ascii text, reads it in, converts it to an BCD integer array and writes that array out as a binary file. f. Write a second method that accepts the name of that binary file, reads it in, converts it back to an ascii string, and writes it out as a .txt file. 3. Go to gutenburb.org and obtain a .txt file of Jane Austen's pride and prejudice. Write methods, called from main to read in this .txt file, compress it using your BCD class, write it out, read it back in, un-compress it, and write out the uncompressed version.

Reference no: EM131321679

Questions Cloud

State the values and explain the mathematic origins : The generic solution for a particle in a 1D box with length, a, is A sin kx + B cos kx. State the values and explain the mathematic origins for A, B and k.
Explain potential predisposing genetic factors : After completing this week's Practicum Experience, reflect on a patient with a known history of asthma. Explain potential predisposing genetic and environmental factors associated with asthma
Halfway to the equilibrium position : A 0.427 kg mass is attached to a spring with a force constant of 25.3 N/m and released from rest a distance of 3.07 cm from the equilibrium position of the spring. Calculate the speed of the mass when it is halfway to the equilibrium position.
How exploits can be used to penetrate a network : Intrusion detection hybrids are getting better. Research the products on the market and comment on them as far as their interfaces are concerned.
Create a cpp visual studio console application : Create a C++ visual studio console application with the name Project2. (As usual, to make the grader happy, it is critical that your project as well as your zip file contain your name and the exercise or project number.)
Balance in retained earnings for night scapes : Statement of Retained Earnings Night Scapes, Corp. began the year 2008 with $29 million in retained earnings. The firm suffered a net loss of $2.9 million in 2008 and yet paid $2.09 million to its preferred stockholders and $1.09 million to its commo..
How do scientists get ideas for research : What guidelines do scientists use to conduct an effective literature search? What specific literature databases are most useful to behavioral scientists?
Discuss about the act local : Select one (1) developing country, and discuss the fundamental actions that the leadership of the selected country is - or is not - taking to improve the living standards of its people. Next, using this same country, cite one (1) specific example ..
Analyze the demand for health care services : Include the following in your paper: Analyze the demand for health care services. How does the demand for health care services differ from other consumer purchases

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write cpp program that will ask user for name of input file

Write a C++ program that will Ask the user for the name of an input file. Read in this name and open that text file for input. Ask the user which of two options they want to do: Read in student data and Count lines and characters.

  Write a c program that reads in two sets of numbers a and b

Write a C program that reads in two sets of numbers A and B, and calculates and print their union (AυB) and intersection (A∩B). (AυB) is the set of elements that appear in either A or B, and thatA∩B is the set of elements that appear in both A and B...

  Test all the memeber function and overloaded operators

Write a program to test all the memeber function and overloaded operators in your class definition.

  Define method get string input

For this assignment, you will be adding additional logic to handle a few additional properties of the order, the simple validation of properties, and the total cost of the order, including sales tax. You will implement these new capabilities using..

  Describe one task where it would be suitable to use a script

Scripts can be great tools. Describe one task where it would be suitable / efficient to use a script and another task where it might not be. Provide a rationale for your response.

  An essential component of compromised to a resource

1. true or false? an essential component of compromised to a resource is that the situation resulting in the compromise was motivated by malice. A.true B.false

  Communication protocols and devices

Can you help me prepare a presentation that examines and depicts a cluster connected over a LAN and provide the communication protocols and devices at each level of the OSI model are discussed and depicted in a diagram in the presentation.

  A for loop to compare each character

a for loop to compare each character

  In this assignment you have to implement and test a public

in this assignment you have to implement and test a public transport fare ticketing system. you will need to

  Print the value that is the deepest in the tree.

Write a C++ program to read in a set of numbers from an input file and build an ordered binary tree.

  Program that implements the bubble sort method

Write a C program that implements the bubble sort method to sort a given list of names in ascending order.

  Prompts the user to enter the total amount of milk produced

Prompts the user to enter the total amount of milk produced in the morning. Outputs the number of milk cartons needed to hold milk. Outputs the cost of producing milk.

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