how to make a library ??
Hi, after i created my matrices multiplication class, it works just perfect :)
but i wanna create my own matrix library that contains this class. So how to make my own :
?? so any C++ programmer can download it and have its functionality, specially that C++ doesn't have high level built-in types like matrices as Bjarne stated :)
And i use Microsoft Visual Studio 2005 professional edition
this is the program who is intersted in it
techniques i used:
- Object-oriented programming
- Dynamic array
- Operating overloading (directly multiplying two objects)
and some other stuff related OO :)
posting the actual exe doesn't help much! ideally if you want your library to be used as widely as possible simply distribute the source, with build instructions. Assuming it's standard C++ this will allow anyone who wants to build it themselves.
If you don't want to distribute the source, change the project type (under project properties) to "static library" and rebuild. You'll then have a .lib file that people can link to. You'll still need to package the header files with though.
i made a .lib file of it, by compiling the header and the implementation :) but when i paste the library in "lib" folder in Ms Visual Studio 2005, and i include it in the code, it doesnt work :(
"it doesn't work"? care to be a bit more specific?
as in it doesn't compile? it doesn't link? it runs but send nasty emails to your granny?
you need to tell you app that you're using the library