cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Lounge
Found a typo in the std::find reference
Found a typo in the std::find reference page
Jan 21, 2015 at 3:03pm UTC
BebePanthere
(2)
Hi,
I think I have found a small typo in the page about std::find
In the "example" section, the second 'else' has a std::cout, and it contains the word "myints" inside the string instead of myvector I believe.
Might be confusing for beginners.
If it's not a mistake, I would very much appreciate an explaination :p
Thank you,
Best,
Tom,
Jan 21, 2015 at 6:53pm UTC
ResidentBiscuit
(4459)
Looks like a typo to me. I would guess whoever wrote that just copied and pasted the code from above. At the bottom of the page there is a link, "Spotted an error? contact us". Click on that and report it.
Jan 22, 2015 at 11:10am UTC
BebePanthere
(2)
Hadn't seen the button, which is why I posted here instead, but I will go ahead and do so.
Have a good day,
Best regards,
Tom,
Topic archived. No new replies allowed.