+ 1
Comparing strings with spaces
Ok so I'm trying to compare strings with spaces (names) but using the normal bubble sort or qsort isn't working any help would be appreciated Edit: my code looks something like this but the only difference i take the names from a file https://code.sololearn.com/cSiFjRdnL7HQ/?ref=app
2 Answers
+ 4
provide your code for actual analysis as nothing can be made out by reading the question
+ 2
How are you comparing the two strings that you need to sort them? are you not allowed to use standard string function?