#include<stdio.h>
void order_char(char *);
int main()
{
}
void order_char(char *arr)
{
}
Ignacio <[EMAIL PROTECTED]> wrote: On Sat, 3 May
2008, at 17:12 (GMT-7), Robert Ryan
wrote:
> it gives the same response whether or not their
> is an s (char or chars)
What both Brett and Thomas meant is that both
prototype and function need to have the same name:
> void order_chars(char *arr) or
> void order_char(char *arr)
Either:
void order_char(char *)
...
void order_char(char *arr)
or:
void order_chars(char *)
...
void order_chars(char *arr)
(Note also that for loop in the sorting algorithm has
a comma instead of a less-than sign.
HTH
Ignacio
E-Mails jetzt auf Ihrem Handy.
www.yahoo.de/go
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[Non-text portions of this message have been removed]