User Information Management System: New Features and Improvements for Enhanced Data Handling

in Steem For Pakistanlast month
Hello Everyone
I'm AhsanSharif From Pakistan
Greetings to you all, hope you all are well and enjoying a happy moment of life with steem. I'm also good Alhamdulillah.


image.png
Canva Design

I previously created a project in which I collected user data. Now, this data has undergone some changes, and some new features have been added so that it can better describe the project.

User Information Management With Unique Entry Check System

Add New Features:

First of all, I want to tell you what things I have changed in it and what new features I have added. I have added a search email option so that we can search the user's data through the email and the user's name.

The data that users have already uploaded to this project, which is a separate file in our database, will be there. We will use their email or name to search for this username, so we can find our existing data. This point will serve as our Google search engine.

This is another new feature I have added through which we can delete user data. Through this, we can delete any existing data.

Another best option has been added through which when the data is submitted, the date of that day will be mentioned there. The date of the day on which the data is submitted will be written there.

Key Changing:

Apart from this, some changes have been made in the code. The first change in this change is that we have improved the error handling, in which when the user enters his age, his data will not be saved until he writes his age in numbers. It will show an error. No character will be written there. Similarly, we have also kept a method for email that if the correct email method is used, then only the data will be saved. Otherwise, an error will be shown.

In addition, a menu has been added in which all the items are placed, and the user can select one of these options and continue their work.

Explanation

Menu System:

A menu has been implemented here to give users multiple options so that the user can use it to choose their options. Among these options, one is for adding data, the other two are for research data, the third option is for deleting data, and lastly, if you want to exit your program, then for that.


image.png

Search:

The search option has been added to it. If we want to find any of the data that we already have, we can reach it through this option. We have attached the search with the name and email so that the user can find the data using either his name or his email.


image.png

Delete Data:

A new function was added to delete data so that if we want to delete the existing data, we can easily delete it. For this, we have used the coding given below, through which we can delete the data.


image.png

Add Date:

We have added a date function in the code so that whenever a user adds data, the date of the day on which he/she add will be written there, thus we will be able to know which data was submitted on which date.


image.png

There are some general improvements in the code. The first improvement is that we have set the email format so that if the email format is incorrect, the user will not be able to submit the data.


image.png

Age validation has been done as input so that if the user writes a numeric number, the data will be submitted only. If he uses any character, the data will not be submitted. These two things have been validated so that the correct data is obtained.


image.png

Github:

I have uploaded my code file to GitHub, you can access it from there and check the code. This is my first time please correct me if I don wrong anyway.

Github repository

Output:

Here I have shown the video output of my project so that you can see how my project works.

Thank you so much for staying here. I would like to invite @kouba01, @josepha, @chant, and @abdullahw2 to join this challenge club.

Cc:
@kafio @mohammadfaisal @alejos7ven

Dated: 13-03-2025 About Me
Sort:  

Upvoted! Thank you for supporting witness @jswit.

!upvote 100

Hola Amigo, muchas gracias por continuar trayendo desarrollos a este proyecto. Me gusta bastante es como un Crud sencillo utilizando de base de datos un archivo .txt, me gusta como el proyecto va tomando forma para realizar varias acciones en un mismo programa, poco a poco va incrementando la funcionalidad del ejercicio.

No sé si fue a ti que te dije, pero aún quiero ver cómo implementar MYSQL en C++

the post has been upvoted successfully! Remaining bandwidth: 100%

 last month 

Thank you so much for the valuable feedback. I'm happy to see you like my project functionalities.
Im not trying MySQL in C++. I just gave you an idea how to do. If I tried I surely make a tutorial. Thank you 😊

Loading...