Global Array of Floats
Global Array of Floats
- Subject: Global Array of Floats
- From: R T <email@hidden>
- Date: Sun, 30 Jan 2005 18:18:37 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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