View Single Post
Re: strings aaaaaaaaaaarghhhhhhhhh
Old
  (#2)
KickBot
Member
 
Status: Offline
Posts: 17
Join Date: Apr 2004
Default Re: strings aaaaaaaaaaarghhhhhhhhh - 08-04-2004

Just scanned your code and found this typo where you seem to have located your problem:

if (sentence[c] == ' ');
{
...

the extra ; might be a nuisance 8o

I didn't check the code seriously but if all you do is string copying you could just use strcpy() instead of the combo sprintf(sTo,"%s",sFrom).

Hope this helps. I'm going to bed now too. Goodnight
  
Reply With Quote