Storing the data in random access binary file

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

Assignment: C++ Programming

The purpose of this project is to take your project and implement it using Random Access Binary Files.

As you recall, the project used text files to store the data. Here in the final exam project, you will be storing the data in Random Access Binary File.

Also, in the project you used Arrays to temporarily hold the data in the memory until the user decides to write the data to file. Here you will not be using Arrays and instead writing the data directly to Random Access Binary File. Please read the chapter Advance File and I/O operations before attempting this.

Here is the full description of the Final exam project.

Modify your Exam Project to:

1. Replace Employee and Department classes with Employee and Department Structures.

2. Inside each structure, replace all string variables with array of characters.

3. Make Employee and Department editable. That means, the user should be able to edit a given Employee and Department.

4. Do not allow the user to edit the Employee ID and Department ID.

5. Use Random Access Files to store the data in Binary Form. This means, you should not use an Arrays to store the data in the memory. Instead, when the user wants to create a new Employee/Department, you write it to the file right away. Also when the user says he/she wants to edit an Employee/Department, ask the user to enter EmployeeID/DepartmentID.

Read the data from the file and display it to the user.

Allow the user to enter new data and write it back to the file in the same position inside the file.

Please read the chapter . Advance File/IO operations which has examples on how to do this.

Attachment:- C++ Programming.rar

Reference no: EM131573282

Questions Cloud

Examine the importance of the audit committee : From the e-Activity, examine the importance of the audit committee oversight related to the quality of the internal controls of an organization
What is the probability that the corporation will call bond : What is the probability that the corporation will call this bond?
Marketing department of firm that is producing lawnmower : Assume that you are employed in the marketing department of a firm that is producing a lawnmower.
Compare and contrast between saudi arabia and united states : Compare and contrast between Saudi Arabia and United States
Storing the data in random access binary file : As you recall, the project used text files to store the data. Here in the final exam project, you will be storing the data in Random Access Binary File.
Calculate the amount of operating income : If a flexible budget is prepared at a volume of 7,500, calculate the amount of operating income. The production level is within the relevant range
What is the most he or she should be willing to pay for land : what is the most he or she should be willing to pay for the land?
Write each of given events as a set and find its probability : Suppose that on a true/false exam you have no idea at all about the answers to three questions. You choose answers randomly and therefore have a 50-50 chance.
What is the capitalisation rate : What is the capitalisation rate?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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