АИ Александр Иванов String. Подскажите как можно отсортировать переменную типа string по возрастанию, в С++?
АВ Анастасия Веселова #include #include #include using namespace std; int main(){ string s("355 261a za"); cout<< s<< endl; sort(s.begin(),s.end()); cout<< s<< endl;}