|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I want global access to a set of numbers in my
cocoa-java applicayion.
In C I did it this way:
//////////////////////////
float Col[2];
Ptr C;
void main(void)
{
Col[1]=1.234;
Col[2]=5.678;
C = (Ptr) &Col;
}
Then in other parts of the program I used:
extern float Col[75];
and was able to access these float variables freely.
/////////////////////////////
How do I do this?
Thanks
Rick T.
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.