7xGit / 7xGit/7xGit_Task2

Improve Input Validation

Ouverte Adaptée aux débutants
#1 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
documentation help wanted
Langage dominant
C++
Étoiles
1
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

The input validation checks if the input is valid, but it doesn't handle non-integer inputs gracefully. Improve the input validation logic to ensure it properly handles invalid input without crashing the program.

Acceptance Criteria:

The program should clear the input buffer and prompt the user again if the input is not a valid integer within the specified range.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Look for the input validation logic in the codebase, likely in a main function or a specific module handling user input. The task is to modify this logic to clear the input buffer and re-prompt on invalid integer input. Test by running the program and providing non-integer inputs to ensure it handles them gracefully without crashing.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp
Domaine
cli
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
70/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.