Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# Programme for these classes: Journal, Entry, and PromptGenerator

C# Programme for these classes: Journal, Entry, and PromptGenerator

Scheduled Pinned Locked Moved C#
csharpdesignbusinessregexoop
1 Posts 1 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lubanzi Mkhize
    wrote on last edited by
    #1

    This program must contain the following features:

    Write a new entry - Show the user a random prompt (from a list that you create), and save their response, the prompt, and the date as an Entry.
    Display the journal - Iterate through all entries in the journal and display them to the screen.
    Save the journal to a file - Prompt the user for a filename and then save the current journal (the complete list of entries) to that file location.
    Load the journal from a file - Prompt the user for a filename and then load the journal (a complete list of entries) from that file. This should replace any entries currently stored the journal.
    Provide a menu that allows the user choose these options
    Your list of prompts must contain at least five different prompts. Make sure to add your own prompts to the list, but the following are examples to help get you started:
    Who was the most interesting person I interacted with today?
    What was the best part of my day?
    How did I see the hand of the Lord in my life today?
    What was the strongest emotion I felt today?
    If I had one thing I could do over today, what would it be?
    Your interface should generally follow the pattern shown in the video demo below.
    Design Requirements
    In addition, your program must:

    Contain classes for the major components in the program.
    Contain at least two classes in addition to the Program class.
    Demonstrate the principle of abstraction by using member variables and methods appropriately.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups