Skip to content

fix 07-find.cpp wrong output #5

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

Merged
merged 1 commit into from
Mar 10, 2025
Merged

fix 07-find.cpp wrong output #5

merged 1 commit into from
Mar 10, 2025

Conversation

izikorgad
Copy link
Contributor

The output for set was wrong.

The actual output is:

Before:
string: hello
vector: 1 9 7 3 
set: 3 4 6 8 
Found in string at position: 2
Found in vector: 7
Found in set: 6
After:
string: helo
vector: 1 9 3 
set: 3 4 8 

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
The output for set was wrong
@izikorgad
Copy link
Contributor Author

Fixing wrong output for 07-find.cpp

Copy link
Owner

@cpp-tutor cpp-tutor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this correction, I will also update the version on the blog.

@cpp-tutor cpp-tutor merged commit 35c6349 into cpp-tutor:main Mar 10, 2025
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.

None yet

2 participants