7xGit / 7xGit/7xGit_Task2

Improve Input Validation

オープン 初心者向け
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
documentation help wanted
主要言語
C++
スター
1
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
cli
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
70/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。