07-10-2011, 05:40 PM
Thank you! That is a big relief.
I was beginning to think that you had to operate on the array itself, rather than passing it to a function. Realising that [] and * are equivalent in an argument list, I though both would be outlawed, and could not see a way to proceed.
I'm not so worried about a compliant strlen() not matching the ANSI library standard prototype. I used it as an example because everyone knows how a simple one works and what it does. Now you have shown me a legal way to do that, I can use the same on my own code.
* fpeelo happy now :)
Frank
I was beginning to think that you had to operate on the array itself, rather than passing it to a function. Realising that [] and * are equivalent in an argument list, I though both would be outlawed, and could not see a way to proceed.
I'm not so worried about a compliant strlen() not matching the ANSI library standard prototype. I used it as an example because everyone knows how a simple one works and what it does. Now you have shown me a legal way to do that, I can use the same on my own code.
* fpeelo happy now :)
Frank
<t></t>