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