-
Notifications
You must be signed in to change notification settings - Fork 56
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine input handling #2
Comments
Miguel9088
added a commit
to Miguel9088/MyFave
that referenced
this issue
Sep 25, 2024
nrakocevic
added a commit
to nrakocevic/MyFave
that referenced
this issue
Sep 25, 2024
…done, and replace cin with getline, closes ChicoState#2
DAC098
added a commit
to DAC098/MyFave
that referenced
this issue
Sep 25, 2024
added in the ability to retrieve single line input from the user. also checking if the input give is the word done and not adding it to the list.
Miguel9088
added a commit
to Miguel9088/MyFave
that referenced
this issue
Sep 25, 2024
thomasdevine01
added a commit
to thomasdevine01/MyFave
that referenced
this issue
Sep 25, 2024
cmgomes5
added a commit
to cmgomes5/MyFave
that referenced
this issue
Sep 25, 2024
CS-Brandon
added a commit
to CS-Brandon/MyFave
that referenced
this issue
Sep 25, 2024
clmcguire
added a commit
to clmcguire/MyFave
that referenced
this issue
Sep 25, 2024
clmcguire
added a commit
to clmcguire/MyFave
that referenced
this issue
Sep 25, 2024
cmgomes5
added a commit
to cmgomes5/MyFave
that referenced
this issue
Sep 25, 2024
nrakocevic
added a commit
to nrakocevic/MyFave
that referenced
this issue
Sep 25, 2024
…done, and replace cin with getline, closes ChicoState#2
the-real-brogrammer
pushed a commit
to the-real-brogrammer/MyFave
that referenced
this issue
Sep 25, 2024
nrakocevic
added a commit
to nrakocevic/MyFave
that referenced
this issue
Sep 25, 2024
…done, and replace cin with getline, closes ChicoState#2
chrisheesh
added a commit
to chrisheesh/MyFave
that referenced
this issue
Sep 25, 2024
merge changes to resolve ChicoState#1 and resolve ChicoState#2
nrakocevic
added a commit
to nrakocevic/MyFave
that referenced
this issue
Sep 25, 2024
…done, and replace cin with getline, closes ChicoState#2
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the program only creates a list of 1-word favorites. However, we want to allow the user to enter an entire line of input, even with spaces, such as
Software Engineering
as a single item in the list. We probably want to use getline to capture a line of input instead of a space-delimited string.Also, the user enters
done
to finish their input. However, the program currently displaysdone
as the last item in the list. We should exclude thedone
command from the list.The text was updated successfully, but these errors were encountered: