AW> [...] if an array is passed to a function, is there a
AW> way to test for or find the end of the array without having the
AW> size of the array passed to the function?
Simple answer: No.
Someone is bound to bring up the subject of the housekeeping information that
most C++ compilers maintain for arrays with heap storage duration in response
to the above, so I'll reserve the more complicated answer until that time.
(-:
¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)
|