// ... while ( *str++ != '|' ); strncpy( date, str, 8); // ...
Given typical current C optimizers, this is unlikely to produce a measurable improvement, although it is definitely more succinct and therefore more elegant (IMHO).
dmm
You can give a man a fish and feed him for a day ...In reply to Re(2): The Ovidian Transform
by dmmiller2k
in thread The Ovidian Transform
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |