i’m unable to understand from line 45 to 50 and how it is connected to the functions( convertToInt,numericCompare and lexioCompare)
here is the code:
Need some help!
from line no 45 to 50
first we make array strpair of type pair<string ,string>
means at each index we are storing pair of string and string
now run a loop
and at first index of each element of strpair store the actually input and at second index store the only that part on the basis of which we have to sort
now we have to just sort according ot compare
if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with
and don’t forgot to mark doubt as resolved
i’m having problem with the syntax
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.