2018-12-07

posted Dec 7, 2018, 12:05 PM by Konstantinovich Samuel
Shared memory is a thing, and it's exactly what it sounds like. You can learn more about it here:


Once you've learned a thing or two, write a program that does the following:
  1. Connects or creates a shared memory segment large enough to hold a 200 character string.
  2. Displays the contents of the shared memory.
    • If the segment was just created, instead show a message saying as much.
  3. Ask the user if they want to change the data in the segment.
    • If yes, prompt the user to enter a new string and write that to the segment.
  4. Ask the user if they want to delete the segment, if yes, then delete it.
Github submission link
MKS65C-shmegegge
Comments