FROM : Jon
DATE : Tue Oct 08 20:01:17 2002
Thanks,
- (void)verticesX:(float*)xVert Y:(float*)yVert
T:(int)TOTAL;
Great I'll use it.
Thanks again,
Jon
--- Dietrich Epp <<email_removed>> wrote:
>
> 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.
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________
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 : Tue Oct 08 20:01:17 2002
Thanks,
- (void)verticesX:(float*)xVert Y:(float*)yVert
T:(int)TOTAL;
Great I'll use it.
Thanks again,
Jon
--- Dietrich Epp <<email_removed>> wrote:
>
> 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.
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________
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 |
|---|---|---|
| Jon | Oct 4, 16:56 | |
| Thomas Castiglione | Oct 4, 17:13 | |
| Clark S. Cox III | Oct 4, 17:17 | |
| Ryan Stevens | Oct 4, 17:29 | |
| Ondra Cada | Oct 4, 17:56 | |
| Ondra Cada | Oct 4, 18:18 | |
| Clark S. Cox III | Oct 4, 18:37 | |
| Manfred Lippert | Oct 4, 19:44 | |
| Brent Gulanowski | Oct 4, 20:22 | |
| Clark S. Cox III | Oct 4, 20:27 | |
| Jon | Oct 8, 20:01 |






Cocoa mail archive

