-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: spark
Message 8 in Discussion

Oops sorry the the pervios code was buggy   #include <stdio.h>
#include <ctype.h> char * rot13(char * str)
{
 char * p = str;
 while(*p) *p++ = isalpha(*p) ? (*p&0xe0)|(((*p&31)+12)%26+1):*p;
 return str;
} void main(int argn,char **argv)
{
 if (argn ==2) printf(rot13(argv[1]));
 else printf("Usage: rot13 <string>\n");
}   fixed. ps. moral of the story: always test before making fancy posts !  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to