TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Paul Edwards
date: 1996-06-14 11:32:24
subject: Find a word

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)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.