Skip to content

Fixed bug in readArray#25

Open
5ycm wants to merge 1 commit intonragland37:mainfrom
5ycm:patch-2
Open

Fixed bug in readArray#25
5ycm wants to merge 1 commit intonragland37:mainfrom
5ycm:patch-2

Conversation

@5ycm
Copy link

@5ycm 5ycm commented Jun 18, 2025

Fixed failed cin buffer state in readArray.

cin.clear()
and
cin.ignore()
Flush the cin buffer after non-integers are received as input.

Fixed failed cin buffer state in readArray.

cin.clear() 
and 
cin.ignore()
Flush the cin buffer after non-integers are received as input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments