Nethali said:
No dear, there is a thing called shared libraries in C++.
Nope, sorry, there isn't. Whoever told you that, doesn't know what he or
she was talking about, and you should stop listening to them.
The C++ language is specified by the document ISO/IEC 18882, dated
2003.10.15. You will not find any reference to anything called a "shared
library", anywhere in this 786 document that formally defines the C++
language, that's in front of me right now.
Give a
google search, it gives lot of articles on this. Some people call this
as dynamic libraries.
I'm sure there are things that are commonly called "shared libraries", or
"dynamic libraries". However, none of that has anything to do with C++. Many
of these so-called "shared libraries" don't even have a byte of C++ code in
them; their contents were written in some other programming language.
Again, you should ask for help in a mailing list or a newsgroup that's
specific to your operating system or compiler. Do you even think that it's
possible that the instructions for creating or using shared libraries are
different, for various operating systems? That creating shared libraries on,
say, Microsoft Windows, maybe -- just may be -- be a very different process
than it is, say, on UNIX? Well, the C++ language is a standard that's
defined independently of any particular operating systems, so, by
definition, any operating system-specific issues have nothing to do with
C++.
And since, it looks like, you haven't even bothered to elaborate what
operating system you're using, how exactly did you expect everyone to know
the answer to your question? A crystal ball? Sorry, all our psychics are out
to lunch, and nobody in the office knows how to operate the magical mind
ray-beam machine.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQBHmU7qx9p3GYHlUOIRAr+8AJ4x3bM+0SBZrk0a5YzqFtrjO1hQQgCdH8fT
h3CRYwT4vqEXAJC6Jbpulq4=
=uNMG
-----END PGP SIGNATURE-----