[DGD] sscanf

David Jackson araborn at home.com
Fri Dec 7 07:02:41 CET 2001


I think it's cheaper on cycles to do a single do-while loop, including your 
functionality in the loop, than it is to do a function call and THEN a 
for-next loop.    I guess it's all in how you look at it.

Second,  I include the original message "as is" because it's quicker.  Do 
you really have to scroll back and forth to see what has been commented 
on?  I don't, but maybe that's just me.

And why do people insist on doing things like <sigh> and </sigh>?  Have I 
disappointed you or something? (which a sigh woud imply).

I am doing my best to try to stimulate some conversation here.  But, 
perhaps it's best if the list just go back to it's regular dormant state.

David



><sigh>
>Why do you people insist on writing something in reply and quoting the
>entire original message, including lots of irrelevant bits like the
>automatically added mailinglist footer (several times), _after_ your
>comments, so that you end up scrolling back and forth to see what you
>are actually commenting on?
>
>Do you also read books starting at the end?
></sigh>
>
>Anyway, what makes you think you couldn't call other functions to do
>further processing on the words you found when using explode()?
>
>     int i, sz;
>     string *str;
>
>     str = explode(line, " ");
>     for (i = 0, sz = sizeof(str); i < sz; i++) {
>         do_something_with(str[i]);
>     }
>
>Voila,
>
>Erwin.
>--
>Erwin Harte <harte at xs4all.nl>
>_________________________________________________________________
>List config page:  http://list.imaginary.com/mailman/listinfo/dgd

_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list