FROM : Dietrich Epp
DATE : Sat Oct 05 07:10:35 2002
forgot to post to list, whoops
Begin forwarded message:
> From: Dietrich Epp <<email_removed>>
> Date: Fri Oct 04, 2002 09:50:43 US/Pacific
> To: <email_removed>
> Subject: Re: C to Objective-C
>
>
> On Friday, October 4, 2002, at 07:56 , Jon wrote:
>
>> I've tried - (void)verticesX:(float)xVert[] Y:yVert[]
>> T:(int)TOTAL; but this doesn't work in Cocoa. How
>> should I write it in Objective-C?
>
> My suggestion is to use float* instead of float[]... but float[]
> works. You see, xVert[] is not an OK variable name in C or objective
> C, what you get is xVert with a type of float[]. This is why I hate C.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sat Oct 05 07:10:35 2002
forgot to post to list, whoops
Begin forwarded message:
> From: Dietrich Epp <<email_removed>>
> Date: Fri Oct 04, 2002 09:50:43 US/Pacific
> To: <email_removed>
> Subject: Re: C to Objective-C
>
>
> On Friday, October 4, 2002, at 07:56 , Jon wrote:
>
>> I've tried - (void)verticesX:(float)xVert[] Y:yVert[]
>> T:(int)TOTAL; but this doesn't work in Cocoa. How
>> should I write it in Objective-C?
>
> My suggestion is to use float* instead of float[]... but float[]
> works. You see, xVert[] is not an OK variable name in C or objective
> C, what you get is xVert with a type of float[]. This is why I hate C.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

