Thread
:
Alphabetical Sort?
View Single Post
08-30-2005, 02:01 AM
#
2
(
permalink
)
redhead
Newbie
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
Since you're not specific on if it's C or C++ or if it's supposed to take char* or string or whatnot, I'll advise you to look at
strcmp()
and work that into your sorting algorithm, that is, if it's supposed to be in C.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead
View Public Profile
Visit redhead's homepage!
Find More Posts by redhead