> if ((islower(*c)) || (isspace(*c)) || (ispunct(*c))) It would be better to test for what you DO want rather than what you don't what, as you might not have covered all bases with those three functions.
> It somehow doesn't like that the second parameter is not > there. Under > linux, I get the error 'Segmentation fault: 11 (core > dumped)'. If the parameter isn't there, the operating system will hand you a NULL pointer. You need to test for that. Attempting to use a NULL pointer is one of the commonest causes of a seg fault. You may be able examine the smoking remains of the core dump using gdb to get more information. David
