| View previous topic :: View next topic |
| Author |
Message |
kot1990 Expert Cheater
Reputation: 1
Joined: 06 Sep 2009 Posts: 131 Location: Greece
|
Posted: Wed Dec 23, 2009 9:54 pm Post subject: Need a good explanation about .lib files |
|
|
Why should I use lib files, what they are for and what do they contain? I read some stuff about this but couldn't understand well what they are for. Are they binary files or something like that?
From wiki: "In computer science, a library is a collection of subroutines or classes used to develop software."
But I could use header files and cpp files to define my functions and classes, so what are the libraries in the end?
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Dec 23, 2009 11:27 pm Post subject: |
|
|
Libraries are used to organize and contain a certain group of functions, classes, etc. There re-usable functions for a developer. Say you want to conceal the source code for your methods and just wanted to let other people use your functions, throw all the functions you want to let other developers use into a header file and compile your source into a library.
_________________
|
|
| Back to top |
|
 |
kot1990 Expert Cheater
Reputation: 1
Joined: 06 Sep 2009 Posts: 131 Location: Greece
|
Posted: Thu Dec 24, 2009 6:38 pm Post subject: |
|
|
| Thx, that was what I was looking for. So libraries are compiled functions/classes etc. hiding the code, thx.
|
|
| Back to top |
|
 |
|