Afficher un message
Vieux 20/10/2007, 00h20   #2
Default User
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PLEASE - odd string sorting related problem

cpptutor2000@yahoo.com wrote:

> Could some C guru provide some hints on my problem? I am trying to
> sort an array of character strings, where each string contains
> lowercase, uppercase, digits as well as non-alphanumeric characters as
> '-', '(' or '/'. Obviously, standard C functions as 'strcmp' would
> fail in these cases. I can convert all the non-digit characters to
> lowercase, but how do I deal with the non-alphanumeric characters?
> Any hints or suggestions would be greatly ful. Thanks in advance
> for your .



Devise and algorithm for comparing such strings.

Implement the algorithm.




Brian
  Réponse avec citation
 
Page generated in 0,04209 seconds with 9 queries