codeRIT Hackathon April 2nd to April 4th 2021: wHACKIEST 2021
Contact tracing program - By Kushal, Shivam and Aryan
A program which stores the details and duration of people going to a store. If anyone who had gone to the store has tests positive for covid, the program will give the details of the people who are possible effected, them being who were at the store when the person entered and anyone who comes in after.
When first entering the menu, select the customer entry option and enter the required deatils. When the customer exits the store they select the customer exit option, which prompts them to enter their number.
After all the customer details and exits have been stored, the report button can be used. Then you'll be asked to enter the number of the person infected, after which all the details of the people who had come in contact with the person is shown.
/*Enter the name as "amongus" for a hidden message */
Video Link https://drive.google.com/file/d/1Oz8Q7AQMrHUR4BBr5Wj6A7Xc2SeCARGE/view
Hint: Run the file in full screen mode. Delete the .dat file if you want to reset the data
Alternative: The "side" branch contains the same version of the code but in arrays. That is a faster version of this program but however, the data formats if the program is closed. This edition stores the data in a binary file which is preserved even after the program is closed