简体   繁体   中英

Linking Libraries in Xcode 3

I have only used Xcode 3 for self-contained programs. This time though I have to use a Big Number library. I've downloaded gmp and tried to link it with Xcode 3. To be honest I mostly have no clue what I'm doing. Can you guys explain thoroughly how to link a Big Number library like gmp so I can use it to calculate huge numbers?

Edit: I am working in C++ and I need to be able to do any mathematical operation, like addition, square root, exponent and so forth

There are a bunch of ways to incorporate that code depending on depended use and desired platforms. But this seems like a pretty solid starting point.

https://github.com/bmorton/GMPInt

If this is not want you want can you tell us what language and platform you are working with?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM