FA> Paul was good enough to add the consts to it, but i don't understand
FA> why would the local pointers have be constant.
The parameters are defined (by ISO) to be constant. The local
variables either need to ALSO be defined const, or have a
typecast. I thought it was better to do the former.
I can't remember though - does the "const" in strstr() mean that
you aren't changing the data that the pointers point to, or that
you aren't changing the pointers themselves? BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|