- Notifications
You must be signed in to change notification settings - Fork84
New feature in c++ project cgpa#22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…use the dynamic resizing rule
…lidation techniques for all the input stream
Hello Dawit, the@The-Young-Programmer is about 1 year out of Github, but him gived me access to this repository, anyway i can't accept this pull request without his permission, so let's wait for his response. 🦖 P. S. your fix looks good by the way |
dawitbeza commentedOct 19, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thank you so much! I truly feel like a professional software engineer now, and I appreciate your help! |
The-Young-Programer commentedDec 29, 2024
@dawitbeza
@dawitbeza |
The-Young-Programer commentedDec 29, 2024
@Samuel-de-Oliveira I forgot my two factor authentication in my old account 🥲 |
eeee88 commentedMay 4, 2025
/* |
I have contributed to the CGPA Calculator C++ project by addressing several issues and making improvements.
Firstly, I fixed a bug related to the use of variables for array initialization, such as int name[q]. This caused the program to fail, as array sizes must be constant expressions known at compile-time. To resolve this, I replaced these statically sized arrays with dynamically sized arrays using vectors.
Secondly, I refactored the code by replacing all goto statements with while loops. The use of goto is generally discouraged in modern programming due to its impact on readability and maintainability.
Finally, and most importantly, I added a new InputValidation function. This function ensures that user inputs are validated based on specified upper and lower bounds as well as the correct data type. The program will now continue prompting the user until a valid input is entered.