Fwd: C to Objective-C
Fwd: C to Objective-C
- Subject: Fwd: C to Objective-C
- From: Dietrich Epp <email@hidden>
- Date: Fri, 4 Oct 2002 22:10:35 -0700
forgot to post to list, whoops
Begin forwarded message:
From: Dietrich Epp <email@hidden>
Date: Fri Oct 04, 2002 09:50:43 US/Pacific
To: email@hidden
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@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.