View Single Post
  #2 (permalink)  
Old October 10th, 2007, 11:12 PM
Peter_APIIT Peter_APIIT is offline
Authorized User
 
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Peter_APIIT
Default

1. Declare a char type which used to accept the @.

   if ( char single == '@')
   {
     return 0;
   }
   else
   {
     continue;
   }

I haven't test this approach.

I hope this help.

Linux is the best OS in the world.
Reply With Quote