??????????BUG????
???????????? ???????[ 2011/12/5 10:56:53 ] ????????
??????????????е?????place??point???????????????????????
???????????????????????????????????????????????????????????????????????????к???????????????????磬????????????г?????????????????????????????????????????磬????????????????????????????????????????????????????????????е??κ??????????????????????????????У??????????????????????????????????????????????б????????????????????????????
????д??????????????????е?????????????????????ν???????????????????????????????С?
#include
void print_a_longestword ( const char [] ) ;
int be_white ( const char ) ;
int find_begin( char const [] ?? unsigned ) ;
int find_end ( char const [] ?? unsigned ) ;
void output ( char const [] ?? unsigned ?? unsigned ) ;
int main( void )
{
printf("%s??????????:"??""); //????""
print_a_longestword("");
printf("%s??????????:"??"
"); //????"
"
print_a_longestword("
");
printf("%s??????????:"??" abc "); //????" abc "
print_a_longestword(" abc ");
printf("%s??????????:"??" abc abcd "); //????" abc abcd "
print_a_longestword(" abc abcd ");
return 0;
}
void output( char const str[] ?? unsigned from ?? unsigned to )
{
while(from < to)
putchar(str[from ++]);
putchar(??
??);
}
int find_end ( const char str[] ?? unsigned from )
{
while( str[from]!=??