I dint know that I normal comparation with string, what It does is get the first letter of both string compared and the one is before in the alphabet is the bigger one, I would like to get the one has more letter...that resolution is inside of a bigger code made to resolve with any kind of type...
Thanks I have done this....but I have had to define other member function as It can not be the same than with teh rest....do you think I could use the same function?do I have to use a Template specialization for that?..
This has been my function with length().
1 2 3 4 5 6 7 8
T resolvestring(){
T bigger = this->a.length() > this->b.length() ? a:b;
cout<<bigger<<"\n";;
return bigger;
}