|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Object Oriented Programming with C
Dear GP's, I thought that many of you would be interested to know how it is possible to program with an object oriented style in C. I have created a small example which demonstrates both inheritance and polymorphism, without ever touching a C++ compiler. It is based on the Creature/OrcMage class heirarchy mentioned in an earlier post. Because I don't want to come off half cocked, I am preparing a small web page, and will be posting the source later tonite. I only send this message now, because if I didn't have the impetus of looking like a dumbass in front of the entire list, I might lose interest and not bother posting it at all. I will post another message when I have a link for you. Thanks for your patience, Ben. "the currency of methods are cpu cycles and the currency of properties are bytes waste neither of them, keeping in mind that the currency of the problem domain is thought infinitely more scarce in comparison" -jplindstrom: perlmonk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|