> > > 
> > > struct texture {  
> > >    ggi_visual  vis;
> > >    char*  filename;
> > > };
> 
> I did so, even I don't like that.

Just one more comment about this.  If you pick up the latest Linux Magazine there is a 
nice piece on Object Oriented Programming in C.  The code I used above is given as an 
example in this article.  I think Stefan is right. It is object oriented prgramming.  
I don't see object oriented prgramming neccessarily as a language but rather a set of 
techniques for effective modeling of a problem set.  In other words, this isn't a 
hack, it merely expresses what a C++ compiler does internally.  Remember,  before they 
had C++ compilers there were C++ to C generators and everything gets turned into 
assembly eventually anyway.

I think this is a very interesting topic and I don't think there is any "right" way to 
accomplish your task.  There's just what works for you.  Good luck in your venture.  I 
hope you guys read  the article (even if you already know it) I liked it a lot.

Lee
-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

Reply via email to