I just would like to ask what does this error mean and how to fix it thanks!
error: 'sort' is not a member of 'std'
vector<int> result; for (auto & i : numbers) result.push_back(std::stoi(i)); std::sort(result.begin(), result.end());
Include the algorithm header. That's why there is a error.
#include <algorithm>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With