Skip to content
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

exercise9_43.cpp和exercise9_44.cpp中有误,在oldVal是s的末尾的时候,无法替换 #83

Open
ghost opened this issue Jul 21, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 21, 2021

exercise9_43.cpp和exercise9_44.cpp中有误,在oldVals的末尾的时候,无法替换。

  • exercise9_43.cpp中:第9行中的条件应该修改为curr != s.end()
  • exercise9_44.cpp中:第8行应该改为for (size_t pos = 0; pos <= s.size(); /* */)
@ghost ghost changed the title exercise9_43.cpp中有误,在oldVal是s的末尾的时候,无法替换 exercise9_43.cpp和exercise9_44.cpp中有误,在oldVal是s的末尾的时候,无法替换 Jul 21, 2021
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

No branches or pull requests

0 participants