+ 2
std::count() not working!
Why does this function not work in the code playground? It runs my code fine in VS2017, but not on here....
4 Answers
+ 6
You need to include <algorithm> for count to work here. IDEs like VS automatically include some headers for you, while Code Playground doesn't.
+ 4
Can you show your code?
+ 1
Wow awesome! Thanks!