R
redneon
Does anyone have any good links to information on how it's possible to
make a library in C++? I can't seem to find anything.
make a library in C++? I can't seem to find anything.
redneon said:Does anyone have any good links to information on how it's possible to
make a library in C++? I can't seem to find anything.
redneon said:Is it not possible to use external libraries in C++ then like you can
in Java or C#?
I've been away on placement for a year doing C# so my C++ skills have
kind of rusted a bit and the boundaries between the two are blurred in
my brain at the moment =o)
Basically, I'm writing a C++ app for my final year project at
University and what I'm wanting to do is produce a library (or
something similar) which people can #include and then get access to the
member functions etc. that I provide.
In C# it's possible to compile a .dll file and then just include that
to give you access. Is this not possible in C++? Can you offer any
alternatives? I don't really want people cutting and pasting my code
=o)
redneon said:Is it not possible to use external libraries in C++ then like you can
in Java or C#?
I've been away on placement for a year doing C# so my C++ skills have
kind of rusted a bit and the boundaries between the two are blurred in
my brain at the moment =o)
Basically, I'm writing a C++ app for my final year project at
University and what I'm wanting to do is produce a library (or
something similar) which people can #include and then get access to the
member functions etc. that I provide.
In C# it's possible to compile a .dll file and then just include that
to give you access. Is this not possible in C++? Can you offer any
alternatives? I don't really want people cutting and pasting my code
=o)
redneon said:Well at home I use g++ because, primarily, I use Linux. But at
University we have to use Microsoft Visual Studio 2003. This poses
quite a problem for me now. It looks like I'm going to have to use
Visual Studio at home.
Is it actually compiler specific or just OS specific? i.e. Would it be
possible for me to create a .dll using mingw in Windows and then use
that .dll in Visual Studio?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.