Re: Building a Library (Code, not Books) Of Classes



Awesome, thank you so much for the links!

I downloaded the example from Murry's link and that was exactly what I
wanted.  So the source code is no different, just a regular class
definition and an implementation!  Nice!

Thanks again!

Jason


On Wed, 2006-01-25 at 22:57 -0600, Jason Alan Smith wrote:
> Here is a basic question for you all.
> 
> Let's say I create a class for my menu bar widget
> 
> class my_new_menu_widget : public Gtkmm::Menu
> {
>   // Do stuff
> }
> 
> Can I take this and turn it into a library?  I've googled for making
> libraries in C++ but I don't find anything.  I do find a few things
> about dynamic open libraries or something, but that seems a little
> advanced for me right now.  But it looks like it is possible.
> 
> If I am able to make the above into it's own library, would it be as
> simple to use it in my main program just by using a
> 
> #include <mymenulibrary.h>?
> 
> Thanks for you assistance!
-- 

Thank you,

Jason A. Smith
jsmith435 cox net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]