I'm completely new to C, and I don't know how to create a library using Xcode. Could anyone help me out?
This is a discussion on Creating a library in C using Xcode 4.6 within the C Programming forums, part of the General Programming Boards category; I'm completely new to C, and I don't know how to create a library using Xcode. Could anyone help me ...
I'm completely new to C, and I don't know how to create a library using Xcode. Could anyone help me out?
Could anyone help me out?
How about learning some actual C to begin with, before rushing headlong into creating a library.
Sure, you'll end up knowing 'how' to create a library using a couple of easy commands, but you'll still be clueless as to what to put in the library.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
A library is a collection of functions, so Step 1 is to learn enough C to write one or more functions. Step 2, read an article about creating libraries on Xcode. This one appears to be good:
How to create universal static libraries on Xcode 4: the traditional way | boreal-kiss.net
Why do you assume I don't know any C? I've got the basics down, and writing functions is one of the first things to learn in any language. Thanks for the link, C99tutorial. That solves my problem.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the Universe is winning." Rick Cook
I used "completely new" a bit loosely. I have been working with C for about two weeks, and know how to write moderately complex command-line tools based in small part off my knowledge of C++. Given that there are many differences between C and C++, I was unsure whether libraries in C had the same structure, file type, etc. as C++ libraries.
Hope this clears up any ambiguity.