[SOLVED] CECS326  Homework 19 

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon homework19-nwd860.zip (12.4 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Chapter 12 (Page 17 through 19)

Purpose: This assignment provides experience with memory mapped files.

Create (use any editor) a text file with a couple sentences in it. Call the file mmap.txt.

Write a program that opens and memory maps that file. Then the program should repeat the following steps 3 times:

  1. ask the user which position in the file they want to change.
  2. ask the user what the new letter is for that position.
  3. modify the file (using the memory map).

Then the file should be unmapped and closed.

Examine the file (use any editor) and make sure the changes occurred.

Demo: Your mmap program. The instructor will test different inputs.

  • homework19-nwd860.zip