Re: invalid operands to binary?
Re: invalid operands to binary?
On Fri, May 14, 2004 at 09:50:22AM -0700, email@hidden wrote:
>
why does this:
>
unsigned long long *total;
>
unsigned long long totalFileSizeK = total/1024;
>
>
give me this:
>
invalid operands to binary /
>
>
is there something easy i'm missing here?
You're dividing a pointer by a number and expecting the result to make
sense?
unsigned long long totalFileSizeK = *total/1024;
sounds a bit more reasonable, if total is indeed a pointer to unsigned
long long.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.