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

  Function named liquid() that is to accept an integer number

Write a C function named liquid() that is to accept an integer number and the addresses of the variables gallons, quarts, pints, and cups.

  Ansi-c program which allows the user to play a game

Your task is to write an ANSI-C program which allows the user to play a game. This will require I/O from both the user and from ?les.

  Write function to accept character array

Write down the C++ function which will accept the character array of at most 30 cells. Your function must return true if string and its reverse are identical;

  Draw a two-dimensional house seen from the front

Draw a two-dimensional house seen from the front, the way a child would: with a door, two windows, and a roof with a chimney. Feel free to add details; mabe have "smoke" come out of the chimney.

  Write a very basic doubly-linked list

CptS 122 Lab #2: Linked Lists ,  Along with vectors, linked lists are one of the fundamental data structures in computer science. Unlike vectors, which store information in a contiguous block of computer memory, linked lists have the potential to sto..

  Max number of dimensions for a c++ multidimensional array

Question: What is the MAX number of Dimensions for a C++ multidimensional array ? Can anyone provide the answer for given question show with example?

  Implementation of data member counter of type int

Write the implementation (.cpp file) of Counter class. Here is the full specification of the class: A data member counter of type int.

  Prepare a program to get a number from the user

How will you prepare a program to get a number from the user and then demonstrate the output as the result above?

  Program calculates and displays salesperson''s commission

The sales manager at Tompkins Company wants a program that calculates and displays each salesperson's commission, which is 10% of his or her sales. It also should display the total commission. Use a value-returning function to get the amount sold by ..

  What are reasons for using generics

Explain generics in C#. What are reasons for using generics? How do generics apply to collections? Write the code for a small example using C# code

  Collection of course components and weighting schemes

Define the data type that represents the collection of course components and weighting schemes and break down the required functionality into modular, reusable functions

  Write a c program to do the followingwrite a program that

write a c program to do the followingwrite a program that reads a data file of floating numbers into an array and

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