/ReminderApp

An anniversary reminder application usuing C

Primary LanguageC

ReminderApp

An anniversary reminder application using C

Screenshot 2021-12-03 182821

This Calendar is a simple program that allows the users to add or delete different events during the year. The users can then review all the events added by them. When the users want to add an event, they will be first asked to add the date (dd/mm/yyyy) and then further add more details about the event itself (topic and description). In order to delete an event, the users will have to select the “delete” option in the menu and then enter any keyword about the event. If the keyword is found, then the user is given the choice to delete it.

this project is made by different header files which carry the functions for each part such as delete,search,calender,menu and so on and it written using Code::Block IDE and cygwin64 compiler.

addevent

as you can see in the menu there is 6 option to pick, depends to which number user going to enter the program will run a function related to the option.

<1.add event>

When user enter 1 the codes in the main.h will run to ask the user for the information of event and then going to store them in a struct in an array. After the program is done with getting inputs from the user (character by character) it going to open a file (a+ mode : opens a file for reading and appending) with a name which I have given(jubilee.txt) and print the inputs from user with the format given by me into the file that program opened. Then ask user that want to continue adding events or not.

addevent_yes

if the user enter "y",the code runs again from the begining where it was getting inputs (using 'goto') and goes all over steps before.

addevent_no

if the user enter "n" the function will terminate and show the the user menu again for user to choose other option.

<3. Look Events>

Opens jubilee.txt file and prints character by character if reach end of the line goes next line and keep printing until reaches EOF (end of file).

1

<4. Delete Event>

Ask the user for type the event they like to remove than find the lines that word expect by using userWordCheck and then ask user to which one of them they want to remove (in case there is few events with same topic)

2