hi,everyone:
I can't find what's wrong in this code
please help with the code
any help would be appreciated..
#include <iostream.h>
#include <algorithm>
#include <string>
void main()
{
string s;
int m,i;
cin>>m;
cin.get();
for(i=0;i<m;i++){
getline(cin,s);
sort(s.begin(),s.end()-1);
do ...