c++ question

Grant Robinson santiago at mr-r.net
Mon Sep 25 16:47:43 MDT 2006


On Sep 25, 2006, at 3:48 PM, Dave Smith wrote:

> Grant Robinson wrote:
>> Ambiguity is the mother of many a mis-understanding.  After re- 
>> reading your post, I assume when you say "character array" you  
>> mean "char *" and when I see "character array" I think "char []",  
>> so I thought you were saying something different than you actually  
>> were.
>
> For both "char *" and "char []", the & is not necessary. That's all  
> I'm saying. Even though & may work in some cases, it is required in  
> none. That's it.

Sweet.  I thought you were saying that using & on a "char []" would  
yield incorrect results, which is false.  So, we are in agreement.   
Glad we got that cleared up. :)  Move along, nothing to see here.

Grant




More information about the PLUG mailing list