Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using standard C ANSI typedef struct



Hello everybody,

this is (as usual) a newbie question, so I apologize beforehand :-}

I'm porting at the moment a program written in C into Cocoa. I would like to continue using a library written in C ANSI for complex number calculation. Especially I would like to continue using the typedef struct "complex" as I use float or other C types.

But I don't seem to be able to get this thing to run. How do I have to declare the .c file in PB in order to be able to use it ? There is certainly an easy thing to do, but I don't find it. Please help me...

Thank you very much

Tom

PS I google-searched for ANSI, I tried in the AppKit and Foundation Framework without success...
--
_________________________________________________________________
Thomas REUSS
http://reusst.free.fr
_________________________________________________________________




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.