| View previous topic :: View next topic |
| Author |
Message |
Alessandro Scotti Guest
|
Post subject: Re: fen to fen functions Posted: Tue May 22, 2007 3:46 pm |
|
|
Just a wild shot:
| Code: |
void fen2fen( char * fen, char * buf )
{
for( char * e = strchr(fen,' ') - 1; e >= fen; e-- ) {
*buf++ = *e ^ (isalpha(*e) ? 0x20 : 0x00);
}
strcpy( buf, strchr(fen,' ') );
}
|
|
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
fen to fen functions |
Uri Blass |
Mon May 21, 2007 10:17 am |
Re: fen to fen functions |
Alessandro Scotti |
Mon May 21, 2007 3:20 pm |
Re: fen to fen functions |
Reinhard Scharnagl |
Mon May 21, 2007 5:10 pm |
Re: fen to fen functions |
Uri Blass |
Tue May 22, 2007 1:21 pm |
Re: fen to fen functions |
Alessandro Scotti |
Tue May 22, 2007 3:46 pm |
Re: fen to fen functions |
Uri Blass |
Tue May 22, 2007 4:24 pm |
Re: fen to fen functions |
Alessandro Scotti |
Tue May 22, 2007 4:46 pm |
Re: fen to fen functions |
Uri Blass |
Thu May 24, 2007 12:52 pm |
Re: fen to fen functions |
Uri Blass |
Thu May 24, 2007 4:51 pm |
Re: fen to fen functions |
Uri Blass |
Thu May 24, 2007 8:13 pm |
Re: fen to fen functions |
Steffan Westcott |
Sat Jun 02, 2007 5:05 pm |
Re: fen to fen functions |
Dann Corbit |
Tue May 22, 2007 6:33 pm |
Re: fen to fen functions |
Dann Corbit |
Mon May 21, 2007 5:48 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|