Aug 14, 2010 at 6:19am
In case I download a new C Library & Header for a specific purpose, how do I use it in my program?
Plz reply.
Aug 14, 2010 at 6:34am
1) Compile the library
2) #include the relevent headers in your program
3) link to the library
4) Profit
Aug 14, 2010 at 6:46am
To link to lib using g++:
g++ [options] newLib.cpp YourCode.cpp
, or newLib.o
Last edited on Aug 14, 2010 at 6:46am
Aug 14, 2010 at 7:29am
Or if you're not a masochist you can just use an IDE