Comparing strings with spaces | Sololearn: Learn to code for FREE!

+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

c

5/23/2020 11:03:34 AM

PIZZA

2 Answers

New Answer

+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?